Class ClientTlsCertificate
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.ClientTlsCertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClientTlsCertificate.Builder,ClientTlsCertificate>
@Generated("software.amazon.awssdk:codegen") public final class ClientTlsCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientTlsCertificate.Builder,ClientTlsCertificate>
An object that represents the client's certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClientTlsCertificate.Builderstatic classClientTlsCertificate.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientTlsCertificate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ListenerTlsFileCertificatefile()An object that represents a local file certificate.static ClientTlsCertificatefromFile(Consumer<ListenerTlsFileCertificate.Builder> file)Create an instance of this class withfile()initialized to the given value.static ClientTlsCertificatefromFile(ListenerTlsFileCertificate file)Create an instance of this class withfile()initialized to the given value.static ClientTlsCertificatefromSds(Consumer<ListenerTlsSdsCertificate.Builder> sds)Create an instance of this class withsds()initialized to the given value.static ClientTlsCertificatefromSds(ListenerTlsSdsCertificate sds)Create an instance of this class withsds()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()ListenerTlsSdsCertificatesds()A reference to an object that represents a client's TLS Secret Discovery Service certificate.static Class<? extends ClientTlsCertificate.Builder>serializableBuilderClass()ClientTlsCertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.ClientTlsCertificate.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
file
public final ListenerTlsFileCertificate file()
An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
- Returns:
- An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
-
sds
public final ListenerTlsSdsCertificate sds()
A reference to an object that represents a client's TLS Secret Discovery Service certificate.
- Returns:
- A reference to an object that represents a client's TLS Secret Discovery Service certificate.
-
toBuilder
public ClientTlsCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClientTlsCertificate.Builder,ClientTlsCertificate>
-
builder
public static ClientTlsCertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClientTlsCertificate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromFile
public static ClientTlsCertificate fromFile(ListenerTlsFileCertificate file)
Create an instance of this class withfile()initialized to the given value.An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
- Parameters:
file- An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
-
fromFile
public static ClientTlsCertificate fromFile(Consumer<ListenerTlsFileCertificate.Builder> file)
Create an instance of this class withfile()initialized to the given value.An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
- Parameters:
file- An object that represents a local file certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
-
fromSds
public static ClientTlsCertificate fromSds(ListenerTlsSdsCertificate sds)
Create an instance of this class withsds()initialized to the given value.A reference to an object that represents a client's TLS Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a client's TLS Secret Discovery Service certificate.
-
fromSds
public static ClientTlsCertificate fromSds(Consumer<ListenerTlsSdsCertificate.Builder> sds)
Create an instance of this class withsds()initialized to the given value.A reference to an object that represents a client's TLS Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a client's TLS Secret Discovery Service certificate.
-
type
public ClientTlsCertificate.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beClientTlsCertificate.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beClientTlsCertificate.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-