com.pulumi.googlenative.cloudkms.v1.outputs.CertificateChainsResponse 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.cloudkms.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class CertificateChainsResponse {
/**
* @return Cavium certificate chain corresponding to the attestation.
*
*/
private List caviumCerts;
/**
* @return Google card certificate chain corresponding to the attestation.
*
*/
private List googleCardCerts;
/**
* @return Google partition certificate chain corresponding to the attestation.
*
*/
private List googlePartitionCerts;
private CertificateChainsResponse() {}
/**
* @return Cavium certificate chain corresponding to the attestation.
*
*/
public List caviumCerts() {
return this.caviumCerts;
}
/**
* @return Google card certificate chain corresponding to the attestation.
*
*/
public List googleCardCerts() {
return this.googleCardCerts;
}
/**
* @return Google partition certificate chain corresponding to the attestation.
*
*/
public List googlePartitionCerts() {
return this.googlePartitionCerts;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertificateChainsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List caviumCerts;
private List googleCardCerts;
private List googlePartitionCerts;
public Builder() {}
public Builder(CertificateChainsResponse defaults) {
Objects.requireNonNull(defaults);
this.caviumCerts = defaults.caviumCerts;
this.googleCardCerts = defaults.googleCardCerts;
this.googlePartitionCerts = defaults.googlePartitionCerts;
}
@CustomType.Setter
public Builder caviumCerts(List caviumCerts) {
this.caviumCerts = Objects.requireNonNull(caviumCerts);
return this;
}
public Builder caviumCerts(String... caviumCerts) {
return caviumCerts(List.of(caviumCerts));
}
@CustomType.Setter
public Builder googleCardCerts(List googleCardCerts) {
this.googleCardCerts = Objects.requireNonNull(googleCardCerts);
return this;
}
public Builder googleCardCerts(String... googleCardCerts) {
return googleCardCerts(List.of(googleCardCerts));
}
@CustomType.Setter
public Builder googlePartitionCerts(List googlePartitionCerts) {
this.googlePartitionCerts = Objects.requireNonNull(googlePartitionCerts);
return this;
}
public Builder googlePartitionCerts(String... googlePartitionCerts) {
return googlePartitionCerts(List.of(googlePartitionCerts));
}
public CertificateChainsResponse build() {
final var o = new CertificateChainsResponse();
o.caviumCerts = caviumCerts;
o.googleCardCerts = googleCardCerts;
o.googlePartitionCerts = googlePartitionCerts;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy