@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataShareAssociation extends Object implements Serializable, Cloneable
The association of a datashare from a producer account with a data consumer.
Constructor and Description |
---|
DataShareAssociation() |
Modifier and Type | Method and Description |
---|---|
DataShareAssociation |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConsumerAcceptedWrites()
Specifies whether write operations were allowed during data share association.
|
String |
getConsumerIdentifier()
The name of the consumer accounts that have an association with a producer datashare.
|
String |
getConsumerRegion()
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
|
Date |
getCreatedDate()
The creation date of the datashare that is associated.
|
Boolean |
getProducerAllowedWrites()
Specifies whether write operations were allowed during data share authorization.
|
String |
getStatus()
The status of the datashare that is associated.
|
Date |
getStatusChangeDate()
The status change data of the datashare that is associated.
|
int |
hashCode() |
Boolean |
isConsumerAcceptedWrites()
Specifies whether write operations were allowed during data share association.
|
Boolean |
isProducerAllowedWrites()
Specifies whether write operations were allowed during data share authorization.
|
void |
setConsumerAcceptedWrites(Boolean consumerAcceptedWrites)
Specifies whether write operations were allowed during data share association.
|
void |
setConsumerIdentifier(String consumerIdentifier)
The name of the consumer accounts that have an association with a producer datashare.
|
void |
setConsumerRegion(String consumerRegion)
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
|
void |
setCreatedDate(Date createdDate)
The creation date of the datashare that is associated.
|
void |
setProducerAllowedWrites(Boolean producerAllowedWrites)
Specifies whether write operations were allowed during data share authorization.
|
void |
setStatus(String status)
The status of the datashare that is associated.
|
void |
setStatusChangeDate(Date statusChangeDate)
The status change data of the datashare that is associated.
|
String |
toString()
Returns a string representation of this object.
|
DataShareAssociation |
withConsumerAcceptedWrites(Boolean consumerAcceptedWrites)
Specifies whether write operations were allowed during data share association.
|
DataShareAssociation |
withConsumerIdentifier(String consumerIdentifier)
The name of the consumer accounts that have an association with a producer datashare.
|
DataShareAssociation |
withConsumerRegion(String consumerRegion)
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
|
DataShareAssociation |
withCreatedDate(Date createdDate)
The creation date of the datashare that is associated.
|
DataShareAssociation |
withProducerAllowedWrites(Boolean producerAllowedWrites)
Specifies whether write operations were allowed during data share authorization.
|
DataShareAssociation |
withStatus(DataShareStatus status)
The status of the datashare that is associated.
|
DataShareAssociation |
withStatus(String status)
The status of the datashare that is associated.
|
DataShareAssociation |
withStatusChangeDate(Date statusChangeDate)
The status change data of the datashare that is associated.
|
public void setConsumerIdentifier(String consumerIdentifier)
The name of the consumer accounts that have an association with a producer datashare.
consumerIdentifier
- The name of the consumer accounts that have an association with a producer datashare.public String getConsumerIdentifier()
The name of the consumer accounts that have an association with a producer datashare.
public DataShareAssociation withConsumerIdentifier(String consumerIdentifier)
The name of the consumer accounts that have an association with a producer datashare.
consumerIdentifier
- The name of the consumer accounts that have an association with a producer datashare.public void setStatus(String status)
The status of the datashare that is associated.
status
- The status of the datashare that is associated.DataShareStatus
public String getStatus()
The status of the datashare that is associated.
DataShareStatus
public DataShareAssociation withStatus(String status)
The status of the datashare that is associated.
status
- The status of the datashare that is associated.DataShareStatus
public DataShareAssociation withStatus(DataShareStatus status)
The status of the datashare that is associated.
status
- The status of the datashare that is associated.DataShareStatus
public void setConsumerRegion(String consumerRegion)
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
consumerRegion
- The Amazon Web Services Region of the consumer accounts that have an association with a producer
datashare.public String getConsumerRegion()
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
public DataShareAssociation withConsumerRegion(String consumerRegion)
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
consumerRegion
- The Amazon Web Services Region of the consumer accounts that have an association with a producer
datashare.public void setCreatedDate(Date createdDate)
The creation date of the datashare that is associated.
createdDate
- The creation date of the datashare that is associated.public Date getCreatedDate()
The creation date of the datashare that is associated.
public DataShareAssociation withCreatedDate(Date createdDate)
The creation date of the datashare that is associated.
createdDate
- The creation date of the datashare that is associated.public void setStatusChangeDate(Date statusChangeDate)
The status change data of the datashare that is associated.
statusChangeDate
- The status change data of the datashare that is associated.public Date getStatusChangeDate()
The status change data of the datashare that is associated.
public DataShareAssociation withStatusChangeDate(Date statusChangeDate)
The status change data of the datashare that is associated.
statusChangeDate
- The status change data of the datashare that is associated.public void setProducerAllowedWrites(Boolean producerAllowedWrites)
Specifies whether write operations were allowed during data share authorization.
producerAllowedWrites
- Specifies whether write operations were allowed during data share authorization.public Boolean getProducerAllowedWrites()
Specifies whether write operations were allowed during data share authorization.
public DataShareAssociation withProducerAllowedWrites(Boolean producerAllowedWrites)
Specifies whether write operations were allowed during data share authorization.
producerAllowedWrites
- Specifies whether write operations were allowed during data share authorization.public Boolean isProducerAllowedWrites()
Specifies whether write operations were allowed during data share authorization.
public void setConsumerAcceptedWrites(Boolean consumerAcceptedWrites)
Specifies whether write operations were allowed during data share association.
consumerAcceptedWrites
- Specifies whether write operations were allowed during data share association.public Boolean getConsumerAcceptedWrites()
Specifies whether write operations were allowed during data share association.
public DataShareAssociation withConsumerAcceptedWrites(Boolean consumerAcceptedWrites)
Specifies whether write operations were allowed during data share association.
consumerAcceptedWrites
- Specifies whether write operations were allowed during data share association.public Boolean isConsumerAcceptedWrites()
Specifies whether write operations were allowed during data share association.
public String toString()
toString
in class Object
Object.toString()
public DataShareAssociation clone()