com.pulumi.googlenative.privateca.v1.outputs.SubordinateConfigResponse Maven / Gradle / Ivy
// *** 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.googlenative.privateca.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.privateca.v1.outputs.SubordinateConfigChainResponse;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SubordinateConfigResponse {
/**
* @return This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*{@literal /}locations/*{@literal /}caPools/*{@literal /}certificateAuthorities/*`.
*
*/
private String certificateAuthority;
/**
* @return Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
*
*/
private SubordinateConfigChainResponse pemIssuerChain;
private SubordinateConfigResponse() {}
/**
* @return This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*{@literal /}locations/*{@literal /}caPools/*{@literal /}certificateAuthorities/*`.
*
*/
public String certificateAuthority() {
return this.certificateAuthority;
}
/**
* @return Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
*
*/
public SubordinateConfigChainResponse pemIssuerChain() {
return this.pemIssuerChain;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubordinateConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String certificateAuthority;
private SubordinateConfigChainResponse pemIssuerChain;
public Builder() {}
public Builder(SubordinateConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateAuthority = defaults.certificateAuthority;
this.pemIssuerChain = defaults.pemIssuerChain;
}
@CustomType.Setter
public Builder certificateAuthority(String certificateAuthority) {
this.certificateAuthority = Objects.requireNonNull(certificateAuthority);
return this;
}
@CustomType.Setter
public Builder pemIssuerChain(SubordinateConfigChainResponse pemIssuerChain) {
this.pemIssuerChain = Objects.requireNonNull(pemIssuerChain);
return this;
}
public SubordinateConfigResponse build() {
final var o = new SubordinateConfigResponse();
o.certificateAuthority = certificateAuthority;
o.pemIssuerChain = pemIssuerChain;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy