@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRepositoryPermissionsPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutRepositoryPermissionsPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
PutRepositoryPermissionsPolicyResult |
clone() |
boolean |
equals(Object obj) |
ResourcePolicy |
getPolicy()
The resource policy that was set after processing the request.
|
int |
hashCode() |
void |
setPolicy(ResourcePolicy policy)
The resource policy that was set after processing the request.
|
String |
toString()
Returns a string representation of this object.
|
PutRepositoryPermissionsPolicyResult |
withPolicy(ResourcePolicy policy)
The resource policy that was set after processing the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic PutRepositoryPermissionsPolicyResult()
public void setPolicy(ResourcePolicy policy)
The resource policy that was set after processing the request.
policy - The resource policy that was set after processing the request.public ResourcePolicy getPolicy()
The resource policy that was set after processing the request.
public PutRepositoryPermissionsPolicyResult withPolicy(ResourcePolicy policy)
The resource policy that was set after processing the request.
policy - The resource policy that was set after processing the request.public String toString()
toString in class ObjectObject.toString()public PutRepositoryPermissionsPolicyResult clone()