@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()
If you specify a value for
MaxResults and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects. |
List<ProtectionGroup> |
getProtectionGroups()
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If you specify a value for
MaxResults and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects. |
void |
setProtectionGroups(Collection<ProtectionGroup> protectionGroups)
|
String |
toString()
Returns a string representation of this object.
|
ListProtectionGroupsResult |
withNextToken(String nextToken)
If you specify a value for
MaxResults and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects. |
ListProtectionGroupsResult |
withProtectionGroups(Collection<ProtectionGroup> protectionGroups)
|
ListProtectionGroupsResult |
withProtectionGroups(ProtectionGroup... protectionGroups)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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)
If you specify a value for MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects.
nextToken
- If you specify a value for MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next
batch of objects.public String getNextToken()
If you specify a value for MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects.
MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next
batch of objects.public ListProtectionGroupsResult withNextToken(String nextToken)
If you specify a value for MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of
objects.
nextToken
- If you specify a value for MaxResults
and you have more protection groups than the value of
MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next
batch of objects.public String toString()
toString
in class Object
Object.toString()
public ListProtectionGroupsResult clone()