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:
  • Constructor Details

    • SetRepositoryPolicyResult

      public SetRepositoryPolicyResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SetRepositoryPolicyResult clone()
      Overrides:
      clone in class Object