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