@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) |
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 that producers are to authorize sharing for.
|
int |
hashCode() |
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 that producers are to authorize sharing for.
|
String |
toString()
Returns a string representation of this object.
|
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 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 that producers are to authorize sharing for.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.public String getDataShareArn()
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
public AuthorizeDataShareRequest withDataShareArn(String dataShareArn)
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
dataShareArn
- The Amazon Resource Name (ARN) of the datashare 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 AWS account ID.
consumerIdentifier
- The identifier of the data consumer that is authorized to access the datashare. This identifier is an AWS
account ID.public String getConsumerIdentifier()
The identifier of the data consumer that is authorized to access the datashare. This identifier is an AWS account ID.
public AuthorizeDataShareRequest withConsumerIdentifier(String consumerIdentifier)
The identifier of the data consumer that is authorized to access the datashare. This identifier is an AWS account ID.
consumerIdentifier
- The identifier of the data consumer that is authorized to access the datashare. This identifier is an AWS
account ID.public String toString()
toString
in class Object
Object.toString()
public AuthorizeDataShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()