@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MutualTlsAuthentication extends Object implements Serializable, Cloneable, StructuredPojo
The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
Constructor and Description |
---|
MutualTlsAuthentication() |
Modifier and Type | Method and Description |
---|---|
MutualTlsAuthentication |
clone() |
boolean |
equals(Object obj) |
String |
getTruststoreUri()
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name . |
String |
getTruststoreVersion()
The version of the S3 object that contains your truststore.
|
List<String> |
getTruststoreWarnings()
A list of warnings that API Gateway returns while processing your truststore.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTruststoreUri(String truststoreUri)
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name . |
void |
setTruststoreVersion(String truststoreVersion)
The version of the S3 object that contains your truststore.
|
void |
setTruststoreWarnings(Collection<String> truststoreWarnings)
A list of warnings that API Gateway returns while processing your truststore.
|
String |
toString()
Returns a string representation of this object.
|
MutualTlsAuthentication |
withTruststoreUri(String truststoreUri)
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example
s3://bucket-name/key-name . |
MutualTlsAuthentication |
withTruststoreVersion(String truststoreVersion)
The version of the S3 object that contains your truststore.
|
MutualTlsAuthentication |
withTruststoreWarnings(Collection<String> truststoreWarnings)
A list of warnings that API Gateway returns while processing your truststore.
|
MutualTlsAuthentication |
withTruststoreWarnings(String... truststoreWarnings)
A list of warnings that API Gateway returns while processing your truststore.
|
public void setTruststoreUri(String truststoreUri)
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.
truststoreUri
- 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.public String getTruststoreUri()
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.
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.public MutualTlsAuthentication withTruststoreUri(String truststoreUri)
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.
truststoreUri
- 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.public void setTruststoreVersion(String truststoreVersion)
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
truststoreVersion
- The version of the S3 object that contains your truststore. To specify a version, you must have versioning
enabled for the S3 bucket.public String getTruststoreVersion()
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
public MutualTlsAuthentication withTruststoreVersion(String truststoreVersion)
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
truststoreVersion
- The version of the S3 object that contains your truststore. To specify a version, you must have versioning
enabled for the S3 bucket.public List<String> getTruststoreWarnings()
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.
public void setTruststoreWarnings(Collection<String> truststoreWarnings)
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.
truststoreWarnings
- 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.public MutualTlsAuthentication withTruststoreWarnings(String... truststoreWarnings)
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.
NOTE: This method appends the values to the existing list (if any). Use
setTruststoreWarnings(java.util.Collection)
or withTruststoreWarnings(java.util.Collection)
if
you want to override the existing values.
truststoreWarnings
- 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.public MutualTlsAuthentication withTruststoreWarnings(Collection<String> truststoreWarnings)
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.
truststoreWarnings
- 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.public String toString()
toString
in class Object
Object.toString()
public MutualTlsAuthentication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.