Class VirtualGatewayListenerTlsCertificate
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.VirtualGatewayListenerTlsCertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualGatewayListenerTlsCertificate.Builder,VirtualGatewayListenerTlsCertificate>
@Generated("software.amazon.awssdk:codegen") public final class VirtualGatewayListenerTlsCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualGatewayListenerTlsCertificate.Builder,VirtualGatewayListenerTlsCertificate>
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 interfaceVirtualGatewayListenerTlsCertificate.Builderstatic classVirtualGatewayListenerTlsCertificate.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualGatewayListenerTlsAcmCertificateacm()A reference to an object that represents an Certificate Manager certificate.static VirtualGatewayListenerTlsCertificate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)VirtualGatewayListenerTlsFileCertificatefile()A reference to an object that represents a local file certificate.static VirtualGatewayListenerTlsCertificatefromAcm(Consumer<VirtualGatewayListenerTlsAcmCertificate.Builder> acm)Create an instance of this class withacm()initialized to the given value.static VirtualGatewayListenerTlsCertificatefromAcm(VirtualGatewayListenerTlsAcmCertificate acm)Create an instance of this class withacm()initialized to the given value.static VirtualGatewayListenerTlsCertificatefromFile(Consumer<VirtualGatewayListenerTlsFileCertificate.Builder> file)Create an instance of this class withfile()initialized to the given value.static VirtualGatewayListenerTlsCertificatefromFile(VirtualGatewayListenerTlsFileCertificate file)Create an instance of this class withfile()initialized to the given value.static VirtualGatewayListenerTlsCertificatefromSds(Consumer<VirtualGatewayListenerTlsSdsCertificate.Builder> sds)Create an instance of this class withsds()initialized to the given value.static VirtualGatewayListenerTlsCertificatefromSds(VirtualGatewayListenerTlsSdsCertificate 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()VirtualGatewayListenerTlsSdsCertificatesds()A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.static Class<? extends VirtualGatewayListenerTlsCertificate.Builder>serializableBuilderClass()VirtualGatewayListenerTlsCertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.VirtualGatewayListenerTlsCertificate.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 VirtualGatewayListenerTlsAcmCertificate 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 VirtualGatewayListenerTlsFileCertificate 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 VirtualGatewayListenerTlsSdsCertificate sds()
A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
- Returns:
- A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
-
toBuilder
public VirtualGatewayListenerTlsCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualGatewayListenerTlsCertificate.Builder,VirtualGatewayListenerTlsCertificate>
-
builder
public static VirtualGatewayListenerTlsCertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualGatewayListenerTlsCertificate.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 VirtualGatewayListenerTlsCertificate fromAcm(VirtualGatewayListenerTlsAcmCertificate 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 VirtualGatewayListenerTlsCertificate fromAcm(Consumer<VirtualGatewayListenerTlsAcmCertificate.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 VirtualGatewayListenerTlsCertificate fromFile(VirtualGatewayListenerTlsFileCertificate 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 VirtualGatewayListenerTlsCertificate fromFile(Consumer<VirtualGatewayListenerTlsFileCertificate.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 VirtualGatewayListenerTlsCertificate fromSds(VirtualGatewayListenerTlsSdsCertificate sds)
Create an instance of this class withsds()initialized to the given value.A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
-
fromSds
public static VirtualGatewayListenerTlsCertificate fromSds(Consumer<VirtualGatewayListenerTlsSdsCertificate.Builder> sds)
Create an instance of this class withsds()initialized to the given value.A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
- Parameters:
sds- A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
-
type
public VirtualGatewayListenerTlsCertificate.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 beVirtualGatewayListenerTlsCertificate.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 beVirtualGatewayListenerTlsCertificate.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-