@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRepositoryPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRepositoryPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetRepositoryPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyText()
The JSON repository policy text associated with 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 associated with 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; useful for testing and debugging.
|
GetRepositoryPolicyResult |
withPolicyText(String policyText)
The JSON repository policy text associated with the repository.
|
GetRepositoryPolicyResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
GetRepositoryPolicyResult |
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 GetRepositoryPolicyResult 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 GetRepositoryPolicyResult 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 associated with the repository.
policyText
- The JSON repository policy text associated with the repository.public String getPolicyText()
The JSON repository policy text associated with the repository.
public GetRepositoryPolicyResult withPolicyText(String policyText)
The JSON repository policy text associated with the repository.
policyText
- The JSON repository policy text associated with the repository.public String toString()
toString
in class Object
Object.toString()
public GetRepositoryPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.