Class GetAuthorizationTokenResult

java.lang.Object
com.amazonaws.services.ecr.model.GetAuthorizationTokenResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetAuthorizationTokenResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • GetAuthorizationTokenResult

      public GetAuthorizationTokenResult()
  • Method Details

    • getAuthorizationData

      public List<AuthorizationData> getAuthorizationData()

      A list of authorization token data objects that correspond to the registryIds values in the request.

      Returns:
      A list of authorization token data objects that correspond to the registryIds values in the request.
    • setAuthorizationData

      public void setAuthorizationData(Collection<AuthorizationData> authorizationData)

      A list of authorization token data objects that correspond to the registryIds values in the request.

      Parameters:
      authorizationData - A list of authorization token data objects that correspond to the registryIds values in the request.
    • withAuthorizationData

      public GetAuthorizationTokenResult withAuthorizationData(AuthorizationData... authorizationData)

      A list of authorization token data objects that correspond to the registryIds values in the request.

      NOTE: This method appends the values to the existing list (if any). Use setAuthorizationData(java.util.Collection) or withAuthorizationData(java.util.Collection) if you want to override the existing values.

      Parameters:
      authorizationData - A list of authorization token data objects that correspond to the registryIds values in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAuthorizationData

      public GetAuthorizationTokenResult withAuthorizationData(Collection<AuthorizationData> authorizationData)

      A list of authorization token data objects that correspond to the registryIds values in the request.

      Parameters:
      authorizationData - A list of authorization token data objects that correspond to the registryIds values in the request.
      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

      Overrides:
      clone in class Object