@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRegistryPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRegistryPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetRegistryPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyText()
The JSON text of the permissions policy for a registry.
|
String |
getRegistryId()
The registry ID associated with the request.
|
int |
hashCode() |
void |
setPolicyText(String policyText)
The JSON text of the permissions policy for a registry.
|
void |
setRegistryId(String registryId)
The registry ID associated with the request.
|
String |
toString()
Returns a string representation of this object.
|
GetRegistryPolicyResult |
withPolicyText(String policyText)
The JSON text of the permissions policy for a registry.
|
GetRegistryPolicyResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public String getRegistryId()
The registry ID associated with the request.
public GetRegistryPolicyResult withRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public void setPolicyText(String policyText)
The JSON text of the permissions policy for a registry.
policyText
- The JSON text of the permissions policy for a registry.public String getPolicyText()
The JSON text of the permissions policy for a registry.
public GetRegistryPolicyResult withPolicyText(String policyText)
The JSON text of the permissions policy for a registry.
policyText
- The JSON text of the permissions policy for a registry.public String toString()
toString
in class Object
Object.toString()
public GetRegistryPolicyResult clone()