@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccessGrantsInstanceResourcePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutAccessGrantsInstanceResourcePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutAccessGrantsInstanceResourcePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account that is making this request.
|
String |
getOrganization()
The Organization of the resource policy of the S3 Access Grants instance.
|
String |
getPolicy()
The resource policy of the S3 Access Grants instance that you are updating.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
void |
setOrganization(String organization)
The Organization of the resource policy of the S3 Access Grants instance.
|
void |
setPolicy(String policy)
The resource policy of the S3 Access Grants instance that you are updating.
|
String |
toString()
Returns a string representation of this object.
|
PutAccessGrantsInstanceResourcePolicyRequest |
withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
PutAccessGrantsInstanceResourcePolicyRequest |
withOrganization(String organization)
The Organization of the resource policy of the S3 Access Grants instance.
|
PutAccessGrantsInstanceResourcePolicyRequest |
withPolicy(String policy)
The resource policy of the S3 Access Grants instance that you are updating.
|
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 PutAccessGrantsInstanceResourcePolicyRequest()
public void setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId - The ID of the Amazon Web Services account that is making this request.public String getAccountId()
The ID of the Amazon Web Services account that is making this request.
public PutAccessGrantsInstanceResourcePolicyRequest withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId - The ID of the Amazon Web Services account that is making this request.public void setPolicy(String policy)
The resource policy of the S3 Access Grants instance that you are updating.
policy - The resource policy of the S3 Access Grants instance that you are updating.public String getPolicy()
The resource policy of the S3 Access Grants instance that you are updating.
public PutAccessGrantsInstanceResourcePolicyRequest withPolicy(String policy)
The resource policy of the S3 Access Grants instance that you are updating.
policy - The resource policy of the S3 Access Grants instance that you are updating.public void setOrganization(String organization)
The Organization of the resource policy of the S3 Access Grants instance.
organization - The Organization of the resource policy of the S3 Access Grants instance.public String getOrganization()
The Organization of the resource policy of the S3 Access Grants instance.
public PutAccessGrantsInstanceResourcePolicyRequest withOrganization(String organization)
The Organization of the resource policy of the S3 Access Grants instance.
organization - The Organization of the resource policy of the S3 Access Grants instance.public String toString()
toString in class ObjectObject.toString()public PutAccessGrantsInstanceResourcePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()