@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRegistriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRegistriesResult() |
Modifier and Type | Method and Description |
---|---|
ListRegistriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
List<RegistryListItem> |
getRegistries()
An array of
RegistryDetailedListItem objects containing minimal details of each registry. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
void |
setRegistries(Collection<RegistryListItem> registries)
An array of
RegistryDetailedListItem objects containing minimal details of each registry. |
String |
toString()
Returns a string representation of this object.
|
ListRegistriesResult |
withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is
not the last.
|
ListRegistriesResult |
withRegistries(Collection<RegistryListItem> registries)
An array of
RegistryDetailedListItem objects containing minimal details of each registry. |
ListRegistriesResult |
withRegistries(RegistryListItem... registries)
An array of
RegistryDetailedListItem objects containing minimal details of each registry. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RegistryListItem> getRegistries()
An array of RegistryDetailedListItem
objects containing minimal details of each registry.
RegistryDetailedListItem
objects containing minimal details of each registry.public void setRegistries(Collection<RegistryListItem> registries)
An array of RegistryDetailedListItem
objects containing minimal details of each registry.
registries
- An array of RegistryDetailedListItem
objects containing minimal details of each registry.public ListRegistriesResult withRegistries(RegistryListItem... registries)
An array of RegistryDetailedListItem
objects containing minimal details of each registry.
NOTE: This method appends the values to the existing list (if any). Use
setRegistries(java.util.Collection)
or withRegistries(java.util.Collection)
if you want to
override the existing values.
registries
- An array of RegistryDetailedListItem
objects containing minimal details of each registry.public ListRegistriesResult withRegistries(Collection<RegistryListItem> registries)
An array of RegistryDetailedListItem
objects containing minimal details of each registry.
registries
- An array of RegistryDetailedListItem
objects containing minimal details of each registry.public void setNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String getNextToken()
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
public ListRegistriesResult withNextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
nextToken
- A continuation token for paginating the returned list of tokens, returned if the current segment of the
list is not the last.public String toString()
toString
in class Object
Object.toString()
public ListRegistriesResult clone()