@Generated(value="software.amazon.awssdk:codegen") public class DescribeTagsRequest extends EC2Request implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeTagsRequest.Builder,DescribeTagsRequest>
Contains the parameters for DescribeTags.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeTagsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeTagsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return in a single call.
|
String |
nextToken()
The token to retrieve the next page of results.
|
static Class<? extends DescribeTagsRequest.Builder> |
serializableBuilderClass() |
DescribeTagsRequest.Builder |
toBuilder() |
String |
toString() |
requestOverrideConfigpublic List<Filter> filters()
One or more filters.
key - The tag key.
resource-id - The resource ID.
resource-type - The resource type (customer-gateway | dhcp-options |
image | instance | internet-gateway | network-acl |
network-interface | reserved-instances | route-table |
security-group | snapshot | spot-instances-request | subnet |
volume | vpc | vpn-connection | vpn-gateway).
value - The tag value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
key - The tag key.
resource-id - The resource ID.
resource-type - The resource type (customer-gateway | dhcp-options
| image | instance | internet-gateway | network-acl |
network-interface | reserved-instances | route-table |
security-group | snapshot | spot-instances-request |
subnet | volume | vpc | vpn-connection |
vpn-gateway).
value - The tag value.
public Integer maxResults()
The maximum number of results to return in a single call. This value can be between 5 and 1000. To retrieve the
remaining results, make another call with the returned NextToken value.
NextToken value.public String nextToken()
The token to retrieve the next page of results.
public DescribeTagsRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DescribeTagsRequest.Builder,DescribeTagsRequest>toBuilder in class EC2Requestpublic static DescribeTagsRequest.Builder builder()
public static Class<? extends DescribeTagsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2017. All rights reserved.