@Generated(value="software.amazon.awssdk:codegen") public final class DataShareAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataShareAssociation.Builder,DataShareAssociation>
The association of a datashare from a producer account with a data consumer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataShareAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataShareAssociation.Builder |
builder() |
String |
consumerIdentifier()
The name of the consumer accounts that have an association with a producer datashare.
|
String |
consumerRegion()
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
|
Instant |
createdDate()
The creation date of the datashare that is associated.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataShareAssociation.Builder> |
serializableBuilderClass() |
DataShareStatus |
status()
The status of the datashare that is associated.
|
String |
statusAsString()
The status of the datashare that is associated.
|
Instant |
statusChangeDate()
The status change data of the datashare that is associated.
|
DataShareAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String consumerIdentifier()
The name of the consumer accounts that have an association with a producer datashare.
public final DataShareStatus status()
The status of the datashare that is associated.
If the service returns an enum value that is not available in the current SDK version, status will
return DataShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DataShareStatuspublic final String statusAsString()
The status of the datashare that is associated.
If the service returns an enum value that is not available in the current SDK version, status will
return DataShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DataShareStatuspublic final String consumerRegion()
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
public final Instant createdDate()
The creation date of the datashare that is associated.
public final Instant statusChangeDate()
The status change data of the datashare that is associated.
public DataShareAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataShareAssociation.Builder,DataShareAssociation>public static DataShareAssociation.Builder builder()
public static Class<? extends DataShareAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.