@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesInProtectionGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourcesInProtectionGroupResult() |
Modifier and Type | Method and Description |
---|---|
ListResourcesInProtectionGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If you specify a value for
MaxResults and you have more resources in the protection group than the
value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the
next batch of objects. |
List<String> |
getResourceArns()
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If you specify a value for
MaxResults and you have more resources in the protection group than the
value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the
next batch of objects. |
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesInProtectionGroupResult |
withNextToken(String nextToken)
If you specify a value for
MaxResults and you have more resources in the protection group than the
value of MaxResults, AWS Shield Advanced returns this token that you can use in your next request, to get the
next batch of objects. |
ListResourcesInProtectionGroupResult |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
|
ListResourcesInProtectionGroupResult |
withResourceArns(String... resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListResourcesInProtectionGroupResult()
public List<String> getResourceArns()
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
resourceArns
- The Amazon Resource Names (ARNs) of the resources that are included in the protection group.public ListResourcesInProtectionGroupResult withResourceArns(String... resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The Amazon Resource Names (ARNs) of the resources that are included in the protection group.public ListResourcesInProtectionGroupResult withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
resourceArns
- The Amazon Resource Names (ARNs) of the resources that are included in the protection group.public void setNextToken(String nextToken)
If you specify a value for MaxResults
and you have more resources in the protection group than the
value of MaxResults, AWS 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 resources in the protection group
than the value of MaxResults, AWS 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 resources in the protection group than the
value of MaxResults, AWS 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 resources in the protection group
than the value of MaxResults, AWS Shield Advanced returns this token that you can use in your next
request, to get the next batch of objects.public ListResourcesInProtectionGroupResult withNextToken(String nextToken)
If you specify a value for MaxResults
and you have more resources in the protection group than the
value of MaxResults, AWS 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 resources in the protection group
than the value of MaxResults, AWS 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 ListResourcesInProtectionGroupResult clone()