@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeDataShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AuthorizeDataShareRequest() |
Modifier and Type | Method and Description |
---|---|
AuthorizeDataShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowWrites()
If set to true, allows write operations for a datashare.
|
String |
getConsumerIdentifier()
The identifier of the data consumer that is authorized to access the datashare.
|
String |
getDataShareArn()
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
|
int |
hashCode() |
Boolean |
isAllowWrites()
If set to true, allows write operations for a datashare.
|
void |
setAllowWrites(Boolean allowWrites)
If set to true, allows write operations for a datashare.
|
void |
setConsumerIdentifier(String consumerIdentifier)
The identifier of the data consumer that is authorized to access the datashare.
|
void |
setDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizeDataShareRequest |
withAllowWrites(Boolean allowWrites)
If set to true, allows write operations for a datashare.
|
AuthorizeDataShareRequest |
withConsumerIdentifier(String consumerIdentifier)
The identifier of the data consumer that is authorized to access the datashare.
|
AuthorizeDataShareRequest |
withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
|
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 namespace that producers are to authorize sharing for.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.public String getDataShareArn()
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
public AuthorizeDataShareRequest withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.public void setConsumerIdentifier(String consumerIdentifier)
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
consumerIdentifier
- The identifier of the data consumer that is authorized to access the datashare. This identifier is an
Amazon Web Services account ID or a keyword, such as ADX.public String getConsumerIdentifier()
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
public AuthorizeDataShareRequest withConsumerIdentifier(String consumerIdentifier)
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
consumerIdentifier
- The identifier of the data consumer that is authorized to access the datashare. This identifier is an
Amazon Web Services account ID or a keyword, such as ADX.public void setAllowWrites(Boolean allowWrites)
If set to true, allows write operations for a datashare.
allowWrites
- If set to true, allows write operations for a datashare.public Boolean getAllowWrites()
If set to true, allows write operations for a datashare.
public AuthorizeDataShareRequest withAllowWrites(Boolean allowWrites)
If set to true, allows write operations for a datashare.
allowWrites
- If set to true, allows write operations for a datashare.public Boolean isAllowWrites()
If set to true, allows write operations for a datashare.
public String toString()
toString
in class Object
Object.toString()
public AuthorizeDataShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()