Package com.amazonaws.services.ecr.model
Class SetRepositoryPolicyResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.SetRepositoryPolicyResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SetRepositoryPolicyResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetRepositoryPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetRepositoryPolicyResult
clone()
boolean
equals(Object obj)
String
getPolicyText()
The JSON repository policy text applied to 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 applied to 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.SetRepositoryPolicyResult
withPolicyText(String policyText)
The JSON repository policy text applied to the repository.SetRepositoryPolicyResult
withRegistryId(String registryId)
The registry ID associated with the request.SetRepositoryPolicyResult
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 SetRepositoryPolicyResult 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 SetRepositoryPolicyResult 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 applied to the repository.
- Parameters:
policyText
- The JSON repository policy text applied to the repository.
-
getPolicyText
public String getPolicyText()
The JSON repository policy text applied to the repository.
- Returns:
- The JSON repository policy text applied to the repository.
-
withPolicyText
public SetRepositoryPolicyResult withPolicyText(String policyText)
The JSON repository policy text applied to the repository.
- Parameters:
policyText
- The JSON repository policy text applied to 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 SetRepositoryPolicyResult clone()
-
-