@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRepositoryPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRepositoryPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetRepositoryPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository.
|
String |
getRepositoryName()
The name of the repository with the policy to retrieve.
|
int |
hashCode() |
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetRepositoryPolicyRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
|
GetRepositoryPolicyRequest |
withRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services account ID associated with the registry that contains the repository. If you do
not specify a registry, the default registry is assumed.public String getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
public GetRepositoryPolicyRequest withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services account ID associated with the registry that contains the repository. If you do
not specify a registry, the default registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
repositoryName
- The name of the repository with the policy to retrieve.public String getRepositoryName()
The name of the repository with the policy to retrieve.
public GetRepositoryPolicyRequest withRepositoryName(String repositoryName)
The name of the repository with the policy to retrieve.
repositoryName
- The name of the repository with the policy to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetRepositoryPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()