com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile {
/**
* @return Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
*
*/
private String certificateChain;
/**
* @return Private key for a certificate stored on the file system of the virtual node that the proxy is running on. Must be between 1 and 255 characters in length.
*
*/
private String privateKey;
private VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile() {}
/**
* @return Certificate trust chain for a certificate stored on the file system of the mesh endpoint that the proxy is running on. Must be between 1 and 255 characters in length.
*
*/
public String certificateChain() {
return this.certificateChain;
}
/**
* @return Private key for a certificate stored on the file system of the virtual node that the proxy is running on. Must be between 1 and 255 characters in length.
*
*/
public String privateKey() {
return this.privateKey;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String certificateChain;
private String privateKey;
public Builder() {}
public Builder(VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile defaults) {
Objects.requireNonNull(defaults);
this.certificateChain = defaults.certificateChain;
this.privateKey = defaults.privateKey;
}
@CustomType.Setter
public Builder certificateChain(String certificateChain) {
if (certificateChain == null) {
throw new MissingRequiredPropertyException("VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile", "certificateChain");
}
this.certificateChain = certificateChain;
return this;
}
@CustomType.Setter
public Builder privateKey(String privateKey) {
if (privateKey == null) {
throw new MissingRequiredPropertyException("VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile", "privateKey");
}
this.privateKey = privateKey;
return this;
}
public VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile build() {
final var _resultValue = new VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile();
_resultValue.certificateChain = certificateChain;
_resultValue.privateKey = privateKey;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy