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 GetRepositoryPolicyResultclone()booleanequals(Object obj)StringgetPolicyText()The JSON repository policy text associated with the repository.StringgetRegistryId()The registry ID associated with the request.StringgetRepositoryName()The repository name associated with the request.inthashCode()voidsetPolicyText(String policyText)The JSON repository policy text associated with the repository.voidsetRegistryId(String registryId)The registry ID associated with the request.voidsetRepositoryName(String repositoryName)The repository name associated with the request.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetRepositoryPolicyResultwithPolicyText(String policyText)The JSON repository policy text associated with the repository.GetRepositoryPolicyResultwithRegistryId(String registryId)The registry ID associated with the request.GetRepositoryPolicyResultwithRepositoryName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetRepositoryPolicyResult clone()
-
-