Class DataShareAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.DataShareAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataShareAssociation.Builder,DataShareAssociation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataShareAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataShareAssociation.Builderbuilder()StringconsumerIdentifier()The name of the consumer accounts that have an association with a producer datashare.StringconsumerRegion()The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.InstantcreatedDate()The creation date of the datashare that is associated.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DataShareAssociation.Builder>serializableBuilderClass()DataShareStatusstatus()The status of the datashare that is associated.StringstatusAsString()The status of the datashare that is associated.InstantstatusChangeDate()The status change data of the datashare that is associated.DataShareAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
consumerIdentifier
public final String consumerIdentifier()
The name of the consumer accounts that have an association with a producer datashare.
- Returns:
- The name of the consumer accounts that have an association with a producer datashare.
-
status
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,
statuswill returnDataShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the datashare that is associated.
- See Also:
DataShareStatus
-
statusAsString
public 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,
statuswill returnDataShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the datashare that is associated.
- See Also:
DataShareStatus
-
consumerRegion
public final String consumerRegion()
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
- Returns:
- The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
-
createdDate
public final Instant createdDate()
The creation date of the datashare that is associated.
- Returns:
- The creation date of the datashare that is associated.
-
statusChangeDate
public final Instant statusChangeDate()
The status change data of the datashare that is associated.
- Returns:
- The status change data of the datashare that is associated.
-
toBuilder
public DataShareAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataShareAssociation.Builder,DataShareAssociation>
-
builder
public static DataShareAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataShareAssociation.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.
-
-