com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate 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.VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile;
import com.pulumi.aws.appmesh.outputs.VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateSds;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate {
/**
* @return Local file certificate.
*
*/
private @Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile file;
/**
* @return A [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
*
*/
private @Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateSds sds;
private VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate() {}
/**
* @return Local file certificate.
*
*/
public Optional file() {
return Optional.ofNullable(this.file);
}
/**
* @return A [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret#secret-discovery-service-sds) certificate.
*
*/
public Optional sds() {
return Optional.ofNullable(this.sds);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile file;
private @Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateSds sds;
public Builder() {}
public Builder(VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate defaults) {
Objects.requireNonNull(defaults);
this.file = defaults.file;
this.sds = defaults.sds;
}
@CustomType.Setter
public Builder file(@Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateFile file) {
this.file = file;
return this;
}
@CustomType.Setter
public Builder sds(@Nullable VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificateSds sds) {
this.sds = sds;
return this;
}
public VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate build() {
final var _resultValue = new VirtualNodeSpecBackendVirtualServiceClientPolicyTlsCertificate();
_resultValue.file = file;
_resultValue.sds = sds;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy