Class ListenerTlsCertificate
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.ListenerTlsCertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListenerTlsCertificate.Builder,ListenerTlsCertificate>
@Generated("software.amazon.awssdk:codegen") public final class ListenerTlsCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListenerTlsCertificate.Builder,ListenerTlsCertificate>
An object that represents a listener's Transport Layer Security (TLS) certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListenerTlsCertificate.Builderstatic classListenerTlsCertificate.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerTlsAcmCertificateacm()A reference to an object that represents an Certificate Manager certificate.static ListenerTlsCertificate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ListenerTlsFileCertificatefile()A reference to an object that represents a local file certificate.static ListenerTlsCertificatefromAcm(Consumer<ListenerTlsAcmCertificate.Builder> acm)Create an instance of this class withacm()initialized to the given value.static ListenerTlsCertificatefromAcm(ListenerTlsAcmCertificate acm)Create an instance of this class withacm()initialized to the given value.static ListenerTlsCertificatefromFile(Consumer<ListenerTlsFileCertificate.Builder> file)Create an instance of this class withfile()initialized to the given value.static ListenerTlsCertificatefromFile(ListenerTlsFileCertificate file)Create an instance of this class withfile()initialized to the given value.static ListenerTlsCertificatefromSds(Consumer<ListenerTlsSdsCertificate.Builder> sds)Create an instance of this class withsds()initialized to the given value.static ListenerTlsCertificatefromSds(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 listener's Secret Discovery Service certificate.static Class<? extends ListenerTlsCertificate.Builder>serializableBuilderClass()ListenerTlsCertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.ListenerTlsCertificate.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
-
acm
public final ListenerTlsAcmCertificate acm()
A reference to an object that represents an Certificate Manager certificate.
- Returns:
- A reference to an object that represents an Certificate Manager certificate.
-
file
public final ListenerTlsFileCertificate file()
A reference to an object that represents a local file certificate.
- Returns:
- A reference to an object that represents a local file certificate.
-
sds
public final ListenerTlsSdsCertificate sds()
A reference to an object that represents a listener's Secret Discovery Service certificate.
- Returns:
- A reference to an object that represents a listener's Secret Discovery Service certificate.
-
toBuilder
public ListenerTlsCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListenerTlsCertificate.Builder,ListenerTlsCertificate>
-
builder
public static ListenerTlsCertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListenerTlsCertificate.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.
-
fromAcm
public static ListenerTlsCertificate fromAcm(ListenerTlsAcmCertificate acm)
Create an instance of this class withacm()initialized to the given value.A reference to an object that represents an Certificate Manager certificate.
- Parameters:
acm- A reference to an object that represents an Certificate Manager certificate.
-
fromAcm
public static ListenerTlsCertificate fromAcm(Consumer<ListenerTlsAcmCertificate.Builder> acm)
Create an instance of this class withacm()initialized to the given value.A reference to an object that represents an Certificate Manager certificate.
- Parameters:
acm- A reference to an object that represents an Certificate Manager certificate.
-
fromFile
public static ListenerTlsCertificate fromFile(ListenerTlsFileCertificate file)
Create an instance of this class withfile()initialized to the given value.A reference to an object that represents a local file certificate.
- Parameters:
file- A reference to an object that represents a local file certificate.
-
fromFile
public static ListenerTlsCertificate fromFile(Consumer<ListenerTlsFileCertificate.Builder> file)
Create an instance of this class withfile()initialized to the given value.A reference to an object that represents a local file certificate.
- Parameters:
file- A reference to an object that represents a local file certificate.
-
fromSds
public static ListenerTlsCertificate fromSds(ListenerTlsSdsCertificate sds)
Create an instance of this class withsds()initialized to the given value.A reference to an object that represents a listener's Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a listener's Secret Discovery Service certificate.
-
fromSds
public static ListenerTlsCertificate 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 listener's Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a listener's Secret Discovery Service certificate.
-
type
public ListenerTlsCertificate.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 beListenerTlsCertificate.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 beListenerTlsCertificate.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-