@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCoreNetworksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCoreNetworksResult() |
Modifier and Type | Method and Description |
---|---|
ListCoreNetworksResult |
clone() |
boolean |
equals(Object obj) |
List<CoreNetworkSummary> |
getCoreNetworks()
Describes the list of core networks.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setCoreNetworks(Collection<CoreNetworkSummary> coreNetworks)
Describes the list of core networks.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCoreNetworksResult |
withCoreNetworks(Collection<CoreNetworkSummary> coreNetworks)
Describes the list of core networks.
|
ListCoreNetworksResult |
withCoreNetworks(CoreNetworkSummary... coreNetworks)
Describes the list of core networks.
|
ListCoreNetworksResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CoreNetworkSummary> getCoreNetworks()
Describes the list of core networks.
public void setCoreNetworks(Collection<CoreNetworkSummary> coreNetworks)
Describes the list of core networks.
coreNetworks
- Describes the list of core networks.public ListCoreNetworksResult withCoreNetworks(CoreNetworkSummary... coreNetworks)
Describes the list of core networks.
NOTE: This method appends the values to the existing list (if any). Use
setCoreNetworks(java.util.Collection)
or withCoreNetworks(java.util.Collection)
if you want to
override the existing values.
coreNetworks
- Describes the list of core networks.public ListCoreNetworksResult withCoreNetworks(Collection<CoreNetworkSummary> coreNetworks)
Describes the list of core networks.
coreNetworks
- Describes the list of core networks.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListCoreNetworksResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListCoreNetworksResult clone()