com.pulumi.azurenative.apimanagement.inputs.CertificateInformationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.apimanagement.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* SSL certificate information.
*
*/
public final class CertificateInformationArgs extends com.pulumi.resources.ResourceArgs {
public static final CertificateInformationArgs Empty = new CertificateInformationArgs();
/**
* Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*
*/
@Import(name="expiry", required=true)
private Output expiry;
/**
* @return Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*
*/
public Output expiry() {
return this.expiry;
}
/**
* Subject of the certificate.
*
*/
@Import(name="subject", required=true)
private Output subject;
/**
* @return Subject of the certificate.
*
*/
public Output subject() {
return this.subject;
}
/**
* Thumbprint of the certificate.
*
*/
@Import(name="thumbprint", required=true)
private Output thumbprint;
/**
* @return Thumbprint of the certificate.
*
*/
public Output thumbprint() {
return this.thumbprint;
}
private CertificateInformationArgs() {}
private CertificateInformationArgs(CertificateInformationArgs $) {
this.expiry = $.expiry;
this.subject = $.subject;
this.thumbprint = $.thumbprint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertificateInformationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CertificateInformationArgs $;
public Builder() {
$ = new CertificateInformationArgs();
}
public Builder(CertificateInformationArgs defaults) {
$ = new CertificateInformationArgs(Objects.requireNonNull(defaults));
}
/**
* @param expiry Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*
* @return builder
*
*/
public Builder expiry(Output expiry) {
$.expiry = expiry;
return this;
}
/**
* @param expiry Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*
* @return builder
*
*/
public Builder expiry(String expiry) {
return expiry(Output.of(expiry));
}
/**
* @param subject Subject of the certificate.
*
* @return builder
*
*/
public Builder subject(Output subject) {
$.subject = subject;
return this;
}
/**
* @param subject Subject of the certificate.
*
* @return builder
*
*/
public Builder subject(String subject) {
return subject(Output.of(subject));
}
/**
* @param thumbprint Thumbprint of the certificate.
*
* @return builder
*
*/
public Builder thumbprint(Output thumbprint) {
$.thumbprint = thumbprint;
return this;
}
/**
* @param thumbprint Thumbprint of the certificate.
*
* @return builder
*
*/
public Builder thumbprint(String thumbprint) {
return thumbprint(Output.of(thumbprint));
}
public CertificateInformationArgs build() {
if ($.expiry == null) {
throw new MissingRequiredPropertyException("CertificateInformationArgs", "expiry");
}
if ($.subject == null) {
throw new MissingRequiredPropertyException("CertificateInformationArgs", "subject");
}
if ($.thumbprint == null) {
throw new MissingRequiredPropertyException("CertificateInformationArgs", "thumbprint");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy