@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListenerTlsCertificate.Builder |
static class |
ListenerTlsCertificate.Type |
| Modifier and Type | Method and Description |
|---|---|
ListenerTlsAcmCertificate |
acm()
A reference to an object that represents an Certificate Manager certificate.
|
static ListenerTlsCertificate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ListenerTlsFileCertificate |
file()
A reference to an object that represents a local file certificate.
|
static ListenerTlsCertificate |
fromAcm(Consumer<ListenerTlsAcmCertificate.Builder> acm)
Create an instance of this class with
acm() initialized to the given value. |
static ListenerTlsCertificate |
fromAcm(ListenerTlsAcmCertificate acm)
Create an instance of this class with
acm() initialized to the given value. |
static ListenerTlsCertificate |
fromFile(Consumer<ListenerTlsFileCertificate.Builder> file)
Create an instance of this class with
file() initialized to the given value. |
static ListenerTlsCertificate |
fromFile(ListenerTlsFileCertificate file)
Create an instance of this class with
file() initialized to the given value. |
static ListenerTlsCertificate |
fromSds(Consumer<ListenerTlsSdsCertificate.Builder> sds)
Create an instance of this class with
sds() initialized to the given value. |
static ListenerTlsCertificate |
fromSds(ListenerTlsSdsCertificate sds)
Create an instance of this class with
sds() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
ListenerTlsSdsCertificate |
sds()
A reference to an object that represents a listener's Secret Discovery Service certificate.
|
static Class<? extends ListenerTlsCertificate.Builder> |
serializableBuilderClass() |
ListenerTlsCertificate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ListenerTlsCertificate.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListenerTlsAcmCertificate acm()
A reference to an object that represents an Certificate Manager certificate.
public final ListenerTlsFileCertificate file()
A reference to an object that represents a local file certificate.
public final ListenerTlsSdsCertificate sds()
A reference to an object that represents a listener's Secret Discovery Service certificate.
public ListenerTlsCertificate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListenerTlsCertificate.Builder,ListenerTlsCertificate>public static ListenerTlsCertificate.Builder builder()
public static Class<? extends ListenerTlsCertificate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ListenerTlsCertificate fromAcm(ListenerTlsAcmCertificate acm)
acm() initialized to the given value.
A reference to an object that represents an Certificate Manager certificate.
acm - A reference to an object that represents an Certificate Manager certificate.public static ListenerTlsCertificate fromAcm(Consumer<ListenerTlsAcmCertificate.Builder> acm)
acm() initialized to the given value.
A reference to an object that represents an Certificate Manager certificate.
acm - A reference to an object that represents an Certificate Manager certificate.public static ListenerTlsCertificate fromFile(ListenerTlsFileCertificate file)
file() initialized to the given value.
A reference to an object that represents a local file certificate.
file - A reference to an object that represents a local file certificate.public static ListenerTlsCertificate fromFile(Consumer<ListenerTlsFileCertificate.Builder> file)
file() initialized to the given value.
A reference to an object that represents a local file certificate.
file - A reference to an object that represents a local file certificate.public static ListenerTlsCertificate fromSds(ListenerTlsSdsCertificate sds)
sds() initialized to the given value.
A reference to an object that represents a listener's Secret Discovery Service certificate.
sds - A reference to an object that represents a listener's Secret Discovery Service certificate.public static ListenerTlsCertificate fromSds(Consumer<ListenerTlsSdsCertificate.Builder> sds)
sds() initialized to the given value.
A reference to an object that represents a listener's Secret Discovery Service certificate.
sds - A reference to an object that represents a listener's Secret Discovery Service certificate.public ListenerTlsCertificate.Type type()
ListenerTlsCertificate.Type.UNKNOWN_TO_SDK_VERSION if 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 be ListenerTlsCertificate.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.