Package com.amazonaws.services.ecr.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetAuthorizationTokenResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAuthorizationTokenResultclone()booleanequals(Object obj)List<AuthorizationData>getAuthorizationData()A list of authorization token data objects that correspond to theregistryIdsvalues in the request.inthashCode()voidsetAuthorizationData(Collection<AuthorizationData> authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetAuthorizationTokenResultwithAuthorizationData(AuthorizationData... authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.GetAuthorizationTokenResultwithAuthorizationData(Collection<AuthorizationData> authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.
-
-
-
Method Detail
-
getAuthorizationData
public List<AuthorizationData> getAuthorizationData()
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.- Returns:
- A list of authorization token data objects that correspond to the
registryIdsvalues in the request.
-
setAuthorizationData
public void setAuthorizationData(Collection<AuthorizationData> authorizationData)
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.- Parameters:
authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues in the request.
-
withAuthorizationData
public GetAuthorizationTokenResult withAuthorizationData(AuthorizationData... authorizationData)
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.NOTE: This method appends the values to the existing list (if any). Use
setAuthorizationData(java.util.Collection)orwithAuthorizationData(java.util.Collection)if you want to override the existing values.- Parameters:
authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues 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
registryIdsvalues in the request.- Parameters:
authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetAuthorizationTokenResult clone()
-
-