Class ListAliasesResult
- java.lang.Object
-
- com.amazonaws.services.kms.model.ListAliasesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListAliasesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListAliasesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAliasesResult
clone()
boolean
equals(Object obj)
List<AliasListEntry>
getAliases()
A list of key aliases in the user's account.String
getNextMarker()
WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.Boolean
getTruncated()
A flag that indicates whether there are more items in the list.int
hashCode()
Boolean
isTruncated()
A flag that indicates whether there are more items in the list.void
setAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.void
setNextMarker(String nextMarker)
WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.void
setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListAliasesResult
withAliases(AliasListEntry... aliases)
A list of key aliases in the user's account.ListAliasesResult
withAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.ListAliasesResult
withNextMarker(String nextMarker)
WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.ListAliasesResult
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
-
-
-
Method Detail
-
getAliases
public List<AliasListEntry> getAliases()
A list of key aliases in the user's account.
- Returns:
- A list of key aliases in the user's account.
-
setAliases
public void setAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.
- Parameters:
aliases
- A list of key aliases in the user's account.
-
withAliases
public ListAliasesResult withAliases(AliasListEntry... aliases)
A list of key aliases in the user's account.
NOTE: This method appends the values to the existing list (if any). Use
setAliases(java.util.Collection)
orwithAliases(java.util.Collection)
if you want to override the existing values.- Parameters:
aliases
- A list of key aliases in the user's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAliases
public ListAliasesResult withAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.
- Parameters:
aliases
- A list of key aliases in the user's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextMarker
public void setNextMarker(String nextMarker)
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Parameters:
nextMarker
- WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.
-
getNextMarker
public String getNextMarker()
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Returns:
- When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.
-
withNextMarker
public ListAliasesResult withNextMarker(String nextMarker)
When
Truncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Parameters:
nextMarker
- WhenTruncated
is true, this value is present and contains the value to use for theMarker
parameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTruncated
public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.- Parameters:
truncated
- A flag that indicates whether there are more items in the list. If your results were truncated, you can use theMarker
parameter to make a subsequent pagination request to retrieve more items in the list.
-
getTruncated
public Boolean getTruncated()
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.- Returns:
- A flag that indicates whether there are more items in the list.
If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.
-
withTruncated
public ListAliasesResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.- Parameters:
truncated
- A flag that indicates whether there are more items in the list. If your results were truncated, you can use theMarker
parameter to make a subsequent pagination request to retrieve more items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
public Boolean isTruncated()
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.- Returns:
- A flag that indicates whether there are more items in the list.
If your results were truncated, you can use the
Marker
parameter to make a subsequent pagination request to retrieve more items in the list.
-
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 ListAliasesResult clone()
-
-