Package com.amazonaws.services.ecr.model
Class GetRepositoryPolicyResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.GetRepositoryPolicyResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetRepositoryPolicyResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetRepositoryPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setRegistryId
public void setRegistryId(String registryId)
The registry ID associated with the request.
- Parameters:
registryId
- The registry ID associated with the request.
-
getRegistryId
public String getRegistryId()
The registry ID associated with the request.
- Returns:
- The registry ID associated with the request.
-
withRegistryId
public GetRepositoryPolicyResult withRegistryId(String registryId)
The registry ID associated with the request.
- Parameters:
registryId
- The registry ID associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
public void setRepositoryName(String repositoryName)
The repository name associated with the request.
- Parameters:
repositoryName
- The repository name associated with the request.
-
getRepositoryName
public String getRepositoryName()
The repository name associated with the request.
- Returns:
- The repository name associated with the request.
-
withRepositoryName
public GetRepositoryPolicyResult withRepositoryName(String repositoryName)
The repository name associated with the request.
- Parameters:
repositoryName
- The repository name associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyText
public void setPolicyText(String policyText)
The JSON repository policy text associated with the repository.
- Parameters:
policyText
- The JSON repository policy text associated with the repository.
-
getPolicyText
public String getPolicyText()
The JSON repository policy text associated with the repository.
- Returns:
- The JSON repository policy text associated with the repository.
-
withPolicyText
public GetRepositoryPolicyResult withPolicyText(String policyText)
The JSON repository policy text associated with the repository.
- Parameters:
policyText
- The JSON repository policy text associated with the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetRepositoryPolicyResult clone()
-
-