@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetRepositoryPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SetRepositoryPolicyResult() |
Modifier and Type | Method and Description |
---|---|
SetRepositoryPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyText()
The JSON repository policy text applied to the repository.
|
String |
getRegistryId()
The registry ID associated with the request.
|
String |
getRepositoryName()
The repository name associated with the request.
|
int |
hashCode() |
void |
setPolicyText(String policyText)
The JSON repository policy text applied to the repository.
|
void |
setRegistryId(String registryId)
The registry ID associated with the request.
|
void |
setRepositoryName(String repositoryName)
The repository name associated with the request.
|
String |
toString()
Returns a string representation of this object.
|
SetRepositoryPolicyResult |
withPolicyText(String policyText)
The JSON repository policy text applied to the repository.
|
SetRepositoryPolicyResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
SetRepositoryPolicyResult |
withRepositoryName(String repositoryName)
The repository name 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 SetRepositoryPolicyResult withRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public void setRepositoryName(String repositoryName)
The repository name associated with the request.
repositoryName
- The repository name associated with the request.public String getRepositoryName()
The repository name associated with the request.
public SetRepositoryPolicyResult withRepositoryName(String repositoryName)
The repository name associated with the request.
repositoryName
- The repository name associated with the request.public void setPolicyText(String policyText)
The JSON repository policy text applied to the repository.
policyText
- The JSON repository policy text applied to the repository.public String getPolicyText()
The JSON repository policy text applied to the repository.
public SetRepositoryPolicyResult withPolicyText(String policyText)
The JSON repository policy text applied to the repository.
policyText
- The JSON repository policy text applied to the repository.public String toString()
toString
in class Object
Object.toString()
public SetRepositoryPolicyResult clone()