@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProtectionGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListProtectionGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListProtectionGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
List<ProtectionGroup> |
getProtectionGroups()
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
void |
setProtectionGroups(Collection<ProtectionGroup> protectionGroups)
|
String |
toString()
Returns a string representation of this object.
|
ListProtectionGroupsResult |
withNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a
NextToken value in the response. |
ListProtectionGroupsResult |
withProtectionGroups(Collection<ProtectionGroup> protectionGroups)
|
ListProtectionGroupsResult |
withProtectionGroups(ProtectionGroup... protectionGroups)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ProtectionGroup> getProtectionGroups()
public void setProtectionGroups(Collection<ProtectionGroup> protectionGroups)
protectionGroups - public ListProtectionGroupsResult withProtectionGroups(ProtectionGroup... protectionGroups)
NOTE: This method appends the values to the existing list (if any). Use
setProtectionGroups(java.util.Collection) or withProtectionGroups(java.util.Collection) if you
want to override the existing values.
protectionGroups - public ListProtectionGroupsResult withProtectionGroups(Collection<ProtectionGroup> protectionGroups)
protectionGroups - public void setNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults setting. Shield Advanced will not return more than MaxResults objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
nextToken - When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults setting. Shield Advanced will not return more than
MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
public String getNextToken()
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults setting. Shield Advanced will not return more than MaxResults objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
NextToken value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults setting. Shield Advanced will not return more than
MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include
a NextToken value.
public ListProtectionGroupsResult withNextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResults setting. Shield Advanced will not return more than MaxResults objects, but
may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
nextToken - When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken value in the response. You
can retrieve the next batch of objects by requesting the list again and providing the token that was
returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
with the MaxResults setting. Shield Advanced will not return more than
MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
public String toString()
toString in class ObjectObject.toString()public ListProtectionGroupsResult clone()