@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateDataShareConsumerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateDataShareConsumerRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateDataShareConsumerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAssociateEntireAccount()
A value that specifies whether the datashare is associated with the entire account.
|
String |
getConsumerArn()
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
|
String |
getDataShareArn()
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
|
int |
hashCode() |
Boolean |
isAssociateEntireAccount()
A value that specifies whether the datashare is associated with the entire account.
|
void |
setAssociateEntireAccount(Boolean associateEntireAccount)
A value that specifies whether the datashare is associated with the entire account.
|
void |
setConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
|
void |
setDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
|
String |
toString()
Returns a string representation of this object.
|
AssociateDataShareConsumerRequest |
withAssociateEntireAccount(Boolean associateEntireAccount)
A value that specifies whether the datashare is associated with the entire account.
|
AssociateDataShareConsumerRequest |
withConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
|
AssociateDataShareConsumerRequest |
withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the
namespace.public String getDataShareArn()
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
public AssociateDataShareConsumerRequest withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the
namespace.public void setAssociateEntireAccount(Boolean associateEntireAccount)
A value that specifies whether the datashare is associated with the entire account.
associateEntireAccount
- A value that specifies whether the datashare is associated with the entire account.public Boolean getAssociateEntireAccount()
A value that specifies whether the datashare is associated with the entire account.
public AssociateDataShareConsumerRequest withAssociateEntireAccount(Boolean associateEntireAccount)
A value that specifies whether the datashare is associated with the entire account.
associateEntireAccount
- A value that specifies whether the datashare is associated with the entire account.public Boolean isAssociateEntireAccount()
A value that specifies whether the datashare is associated with the entire account.
public void setConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
consumerArn
- The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.public String getConsumerArn()
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
public AssociateDataShareConsumerRequest withConsumerArn(String consumerArn)
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
consumerArn
- The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.public String toString()
toString
in class Object
Object.toString()
public AssociateDataShareConsumerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()