#[non_exhaustive]pub struct MutualTlsAuthenticationBuilder { /* private fields */ }
Expand description
A builder for MutualTlsAuthentication
.
Implementations§
source§impl MutualTlsAuthenticationBuilder
impl MutualTlsAuthenticationBuilder
sourcepub fn truststore_uri(self, input: impl Into<String>) -> Self
pub fn truststore_uri(self, input: impl Into<String>) -> Self
An 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. To update the truststore, you must have permissions to access the S3 object.
sourcepub fn set_truststore_uri(self, input: Option<String>) -> Self
pub fn set_truststore_uri(self, input: Option<String>) -> Self
An 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. To update the truststore, you must have permissions to access the S3 object.
sourcepub fn get_truststore_uri(&self) -> &Option<String>
pub fn get_truststore_uri(&self) -> &Option<String>
An 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. To update the truststore, you must have permissions to access the S3 object.
sourcepub fn truststore_version(self, input: impl Into<String>) -> Self
pub fn truststore_version(self, input: impl Into<String>) -> Self
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
sourcepub fn set_truststore_version(self, input: Option<String>) -> Self
pub fn set_truststore_version(self, input: Option<String>) -> Self
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
sourcepub fn get_truststore_version(&self) -> &Option<String>
pub fn get_truststore_version(&self) -> &Option<String>
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
sourcepub fn truststore_warnings(self, input: impl Into<String>) -> Self
pub fn truststore_warnings(self, input: impl Into<String>) -> Self
Appends an item to truststore_warnings
.
To override the contents of this collection use set_truststore_warnings
.
A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.
sourcepub fn set_truststore_warnings(self, input: Option<Vec<String>>) -> Self
pub fn set_truststore_warnings(self, input: Option<Vec<String>>) -> Self
A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.
sourcepub fn get_truststore_warnings(&self) -> &Option<Vec<String>>
pub fn get_truststore_warnings(&self) -> &Option<Vec<String>>
A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.
sourcepub fn build(self) -> MutualTlsAuthentication
pub fn build(self) -> MutualTlsAuthentication
Consumes the builder and constructs a MutualTlsAuthentication
.
Trait Implementations§
source§impl Clone for MutualTlsAuthenticationBuilder
impl Clone for MutualTlsAuthenticationBuilder
source§fn clone(&self) -> MutualTlsAuthenticationBuilder
fn clone(&self) -> MutualTlsAuthenticationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MutualTlsAuthenticationBuilder
impl Default for MutualTlsAuthenticationBuilder
source§fn default() -> MutualTlsAuthenticationBuilder
fn default() -> MutualTlsAuthenticationBuilder
source§impl PartialEq for MutualTlsAuthenticationBuilder
impl PartialEq for MutualTlsAuthenticationBuilder
source§fn eq(&self, other: &MutualTlsAuthenticationBuilder) -> bool
fn eq(&self, other: &MutualTlsAuthenticationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.