com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.appmesh.outputs;
import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeName;
import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrust;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation {
private List subjectAlternativeNames;
private List trusts;
private GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation() {}
public List subjectAlternativeNames() {
return this.subjectAlternativeNames;
}
public List trusts() {
return this.trusts;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List subjectAlternativeNames;
private List trusts;
public Builder() {}
public Builder(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation defaults) {
Objects.requireNonNull(defaults);
this.subjectAlternativeNames = defaults.subjectAlternativeNames;
this.trusts = defaults.trusts;
}
@CustomType.Setter
public Builder subjectAlternativeNames(List subjectAlternativeNames) {
if (subjectAlternativeNames == null) {
throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation", "subjectAlternativeNames");
}
this.subjectAlternativeNames = subjectAlternativeNames;
return this;
}
public Builder subjectAlternativeNames(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationSubjectAlternativeName... subjectAlternativeNames) {
return subjectAlternativeNames(List.of(subjectAlternativeNames));
}
@CustomType.Setter
public Builder trusts(List trusts) {
if (trusts == null) {
throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation", "trusts");
}
this.trusts = trusts;
return this;
}
public Builder trusts(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidationTrust... trusts) {
return trusts(List.of(trusts));
}
public GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation build() {
final var _resultValue = new GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation();
_resultValue.subjectAlternativeNames = subjectAlternativeNames;
_resultValue.trusts = trusts;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy