@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccessGrantsInstanceResourcePolicyResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAccessGrantsInstanceResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetAccessGrantsInstanceResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time when you created the S3 Access Grants instance resource policy.
|
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.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance resource policy.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
GetAccessGrantsInstanceResourcePolicyResult |
withCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance resource policy.
|
GetAccessGrantsInstanceResourcePolicyResult |
withOrganization(String organization)
The Organization of the resource policy of the S3 Access Grants instance.
|
GetAccessGrantsInstanceResourcePolicyResult |
withPolicy(String policy)
The resource policy of the S3 Access Grants instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetAccessGrantsInstanceResourcePolicyResult()
public void setPolicy(String policy)
The resource policy of the S3 Access Grants instance.
policy
- The resource policy of the S3 Access Grants instance.public String getPolicy()
The resource policy of the S3 Access Grants instance.
public GetAccessGrantsInstanceResourcePolicyResult withPolicy(String policy)
The resource policy of the S3 Access Grants instance.
policy
- The resource policy of the S3 Access Grants instance.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 GetAccessGrantsInstanceResourcePolicyResult 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 void setCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance resource policy.
createdAt
- The date and time when you created the S3 Access Grants instance resource policy.public Date getCreatedAt()
The date and time when you created the S3 Access Grants instance resource policy.
public GetAccessGrantsInstanceResourcePolicyResult withCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance resource policy.
createdAt
- The date and time when you created the S3 Access Grants instance resource policy.public String toString()
toString
in class Object
Object.toString()
public GetAccessGrantsInstanceResourcePolicyResult clone()