Package com.amazonaws.services.ecr.model
Class SetRepositoryPolicyResult
java.lang.Object
com.amazonaws.services.ecr.model.SetRepositoryPolicyResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The JSON repository policy text applied to the repository.The registry ID associated with the request.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.toString()
Returns a string representation of this object; useful for testing and debugging.withPolicyText
(String policyText) The JSON repository policy text applied to the repository.withRegistryId
(String registryId) The registry ID associated with the request.withRepositoryName
(String repositoryName) The repository name associated with the request.
-
Constructor Details
-
SetRepositoryPolicyResult
public SetRepositoryPolicyResult()
-
-
Method Details
-
setRegistryId
The registry ID associated with the request.
- Parameters:
registryId
- The registry ID associated with the request.
-
getRegistryId
The registry ID associated with the request.
- Returns:
- The registry ID associated with the request.
-
withRegistryId
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
The repository name associated with the request.
- Parameters:
repositoryName
- The repository name associated with the request.
-
getRepositoryName
The repository name associated with the request.
- Returns:
- The repository name associated with the request.
-
withRepositoryName
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
The JSON repository policy text applied to the repository.
- Parameters:
policyText
- The JSON repository policy text applied to the repository.
-
getPolicyText
The JSON repository policy text applied to the repository.
- Returns:
- The JSON repository policy text applied to the repository.
-
withPolicyText
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-