com.pulumi.aws.apigateway.outputs.DomainNameMutualTlsAuthentication 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.
The newest version!
// *** 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.apigateway.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DomainNameMutualTlsAuthentication {
/**
* @return Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3://bucket-name/key-name`. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
*
*/
private String truststoreUri;
/**
* @return Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
*
*/
private @Nullable String truststoreVersion;
private DomainNameMutualTlsAuthentication() {}
/**
* @return Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3://bucket-name/key-name`. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version.
*
*/
public String truststoreUri() {
return this.truststoreUri;
}
/**
* @return Version of the S3 object that contains the truststore. To specify a version, you must have versioning enabled for the S3 bucket.
*
*/
public Optional truststoreVersion() {
return Optional.ofNullable(this.truststoreVersion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainNameMutualTlsAuthentication defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String truststoreUri;
private @Nullable String truststoreVersion;
public Builder() {}
public Builder(DomainNameMutualTlsAuthentication defaults) {
Objects.requireNonNull(defaults);
this.truststoreUri = defaults.truststoreUri;
this.truststoreVersion = defaults.truststoreVersion;
}
@CustomType.Setter
public Builder truststoreUri(String truststoreUri) {
if (truststoreUri == null) {
throw new MissingRequiredPropertyException("DomainNameMutualTlsAuthentication", "truststoreUri");
}
this.truststoreUri = truststoreUri;
return this;
}
@CustomType.Setter
public Builder truststoreVersion(@Nullable String truststoreVersion) {
this.truststoreVersion = truststoreVersion;
return this;
}
public DomainNameMutualTlsAuthentication build() {
final var _resultValue = new DomainNameMutualTlsAuthentication();
_resultValue.truststoreUri = truststoreUri;
_resultValue.truststoreVersion = truststoreVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy