@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) |
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.
|
String |
getStatus()
The status of the datashare that is associated.
|
Date |
getStatusChangeDate()
The status change data of the datashare that is associated.
|
int |
hashCode() |
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 |
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 |
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 |
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.DataShareStatuspublic String getStatus()
The status of the datashare that is associated.
DataShareStatuspublic DataShareAssociation withStatus(String status)
The status of the datashare that is associated.
status - The status of the datashare that is associated.DataShareStatuspublic DataShareAssociation withStatus(DataShareStatus status)
The status of the datashare that is associated.
status - The status of the datashare that is associated.DataShareStatuspublic 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 String toString()
toString in class ObjectObject.toString()public DataShareAssociation clone()
Copyright © 2022. All rights reserved.