@Generated(value="software.amazon.awssdk:codegen") public final class SourceData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceData.Builder,SourceData>
The data field of the trust anchor depending on its type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceData.Builder |
static class |
SourceData.Type |
| Modifier and Type | Method and Description |
|---|---|
String |
acmPcaArn()
The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in
trust validation for CreateSession
operations.
|
static SourceData.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static SourceData |
fromAcmPcaArn(String acmPcaArn)
Create an instance of this class with
acmPcaArn() initialized to the given value. |
static SourceData |
fromX509CertificateData(String x509CertificateData)
Create an instance of this class with
x509CertificateData() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceData.Builder> |
serializableBuilderClass() |
SourceData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SourceData.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
String |
x509CertificateData()
The PEM-encoded data for the certificate anchor.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acmPcaArn()
The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in
trust validation for CreateSession
operations. Included for trust anchors of type AWS_ACM_PCA.
AWS_ACM_PCA.public final String x509CertificateData()
The PEM-encoded data for the certificate anchor. Included for trust anchors of type
CERTIFICATE_BUNDLE.
CERTIFICATE_BUNDLE.public SourceData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceData.Builder,SourceData>public static SourceData.Builder builder()
public static Class<? extends SourceData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static SourceData fromAcmPcaArn(String acmPcaArn)
acmPcaArn() initialized to the given value.
The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in
trust validation for CreateSession
operations. Included for trust anchors of type AWS_ACM_PCA.
acmPcaArn - The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is
used in trust validation for CreateSession operations. Included for trust anchors of type AWS_ACM_PCA.public static SourceData fromX509CertificateData(String x509CertificateData)
x509CertificateData() initialized to the given value.
The PEM-encoded data for the certificate anchor. Included for trust anchors of type
CERTIFICATE_BUNDLE.
x509CertificateData - The PEM-encoded data for the certificate anchor. Included for trust anchors of type
CERTIFICATE_BUNDLE.public SourceData.Type type()
SourceData.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 SourceData.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.