public class GetRepositoryPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
registryId
The AWS account ID associated with the registry that contains the
repository.
|
private java.lang.String |
repositoryName
The name of the repository whose policy you want to retrieve.
|
NOOP
Constructor and Description |
---|
GetRepositoryPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetRepositoryPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry that contains the
repository.
|
java.lang.String |
getRepositoryName()
The name of the repository whose policy you want to retrieve.
|
int |
hashCode() |
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository whose policy you want to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRepositoryPolicyRequest |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository.
|
GetRepositoryPolicyRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository whose policy you want to retrieve.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String registryId
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
private java.lang.String repositoryName
The name of the repository whose policy you want to retrieve.
public void setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry that contains the
repository. If you do not specify a registry, the default registry
is assumed.public java.lang.String getRegistryId()
The AWS 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(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS 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(java.lang.String repositoryName)
The name of the repository whose policy you want to retrieve.
repositoryName
- The name of the repository whose policy you want to retrieve.public java.lang.String getRepositoryName()
The name of the repository whose policy you want to retrieve.
public GetRepositoryPolicyRequest withRepositoryName(java.lang.String repositoryName)
The name of the repository whose policy you want to retrieve.
repositoryName
- The name of the repository whose policy you want to retrieve.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetRepositoryPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()