@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSetPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateDataSetPermissionsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateDataSetPermissionsRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAwsAccountId()
 The AWS account ID. | 
| String | getDataSetId()
 The ID for the dataset whose permissions you want to update. | 
| List<ResourcePermission> | getGrantPermissions()
 The resource permissions that you want to grant to the dataset. | 
| List<ResourcePermission> | getRevokePermissions()
 The resource permissions that you want to revoke from the dataset. | 
| int | hashCode() | 
| void | setAwsAccountId(String awsAccountId)
 The AWS account ID. | 
| void | setDataSetId(String dataSetId)
 The ID for the dataset whose permissions you want to update. | 
| void | setGrantPermissions(Collection<ResourcePermission> grantPermissions)
 The resource permissions that you want to grant to the dataset. | 
| void | setRevokePermissions(Collection<ResourcePermission> revokePermissions)
 The resource permissions that you want to revoke from the dataset. | 
| String | toString()Returns a string representation of this object. | 
| UpdateDataSetPermissionsRequest | withAwsAccountId(String awsAccountId)
 The AWS account ID. | 
| UpdateDataSetPermissionsRequest | withDataSetId(String dataSetId)
 The ID for the dataset whose permissions you want to update. | 
| UpdateDataSetPermissionsRequest | withGrantPermissions(Collection<ResourcePermission> grantPermissions)
 The resource permissions that you want to grant to the dataset. | 
| UpdateDataSetPermissionsRequest | withGrantPermissions(ResourcePermission... grantPermissions)
 The resource permissions that you want to grant to the dataset. | 
| UpdateDataSetPermissionsRequest | withRevokePermissions(Collection<ResourcePermission> revokePermissions)
 The resource permissions that you want to revoke from the dataset. | 
| UpdateDataSetPermissionsRequest | withRevokePermissions(ResourcePermission... revokePermissions)
 The resource permissions that you want to revoke from the dataset. | 
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, withSdkRequestTimeoutpublic void setAwsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId - The AWS account ID.public String getAwsAccountId()
The AWS account ID.
public UpdateDataSetPermissionsRequest withAwsAccountId(String awsAccountId)
The AWS account ID.
awsAccountId - The AWS account ID.public void setDataSetId(String dataSetId)
The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS account.
dataSetId - The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS
        account.public String getDataSetId()
The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS account.
public UpdateDataSetPermissionsRequest withDataSetId(String dataSetId)
The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS account.
dataSetId - The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS
        account.public List<ResourcePermission> getGrantPermissions()
The resource permissions that you want to grant to the dataset.
public void setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the dataset.
grantPermissions - The resource permissions that you want to grant to the dataset.public UpdateDataSetPermissionsRequest withGrantPermissions(ResourcePermission... grantPermissions)
The resource permissions that you want to grant to the dataset.
 NOTE: This method appends the values to the existing list (if any). Use
 setGrantPermissions(java.util.Collection) or withGrantPermissions(java.util.Collection) if you
 want to override the existing values.
 
grantPermissions - The resource permissions that you want to grant to the dataset.public UpdateDataSetPermissionsRequest withGrantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the dataset.
grantPermissions - The resource permissions that you want to grant to the dataset.public List<ResourcePermission> getRevokePermissions()
The resource permissions that you want to revoke from the dataset.
public void setRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the dataset.
revokePermissions - The resource permissions that you want to revoke from the dataset.public UpdateDataSetPermissionsRequest withRevokePermissions(ResourcePermission... revokePermissions)
The resource permissions that you want to revoke from the dataset.
 NOTE: This method appends the values to the existing list (if any). Use
 setRevokePermissions(java.util.Collection) or withRevokePermissions(java.util.Collection) if
 you want to override the existing values.
 
revokePermissions - The resource permissions that you want to revoke from the dataset.public UpdateDataSetPermissionsRequest withRevokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the dataset.
revokePermissions - The resource permissions that you want to revoke from the dataset.public String toString()
toString in class ObjectObject.toString()public UpdateDataSetPermissionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()