@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeTagsRequest>
NOOP
Constructor and Description |
---|
DescribeTagsRequest()
Default constructor for DescribeTagsRequest object.
|
DescribeTagsRequest(List<Filter> filters)
Constructs a new DescribeTagsRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeTagsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTagsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeTagsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeTagsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeTagsRequest |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeTagsRequest()
public DescribeTagsRequest(List<Filter> filters)
filters
- The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
|
dedicated-host
| dhcp-options
| elastic-ip
| fleet
|
fpga-image
| host-reservation
| image
| instance
|
internet-gateway
| key-pair
| launch-template
|
natgateway
| network-acl
| network-interface
|
placement-group
| reserved-instances
| route-table
|
security-group
| snapshot
| spot-instances-request
|
subnet
| volume
| vpc
| vpc-endpoint
|
vpc-endpoint-service
| vpc-peering-connection
| vpn-connection
|
vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for
the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
public List<Filter> getFilters()
The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
| dedicated-host
|
dhcp-options
| elastic-ip
| fleet
| fpga-image
|
host-reservation
| image
| instance
| internet-gateway
|
key-pair
| launch-template
| natgateway
| network-acl
|
network-interface
| placement-group
| reserved-instances
|
route-table
| security-group
| snapshot
|
spot-instances-request
| subnet
| volume
| vpc
|
vpc-endpoint
| vpc-endpoint-service
| vpc-peering-connection
|
vpn-connection
| vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for the
filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
|
dedicated-host
| dhcp-options
| elastic-ip
| fleet
|
fpga-image
| host-reservation
| image
| instance
|
internet-gateway
| key-pair
| launch-template
|
natgateway
| network-acl
| network-interface
|
placement-group
| reserved-instances
| route-table
|
security-group
| snapshot
| spot-instances-request
|
subnet
| volume
| vpc
| vpc-endpoint
|
vpc-endpoint-service
| vpc-peering-connection
| vpn-connection
|
vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for
the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
public void setFilters(Collection<Filter> filters)
The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
| dedicated-host
|
dhcp-options
| elastic-ip
| fleet
| fpga-image
|
host-reservation
| image
| instance
| internet-gateway
|
key-pair
| launch-template
| natgateway
| network-acl
|
network-interface
| placement-group
| reserved-instances
|
route-table
| security-group
| snapshot
|
spot-instances-request
| subnet
| volume
| vpc
|
vpc-endpoint
| vpc-endpoint-service
| vpc-peering-connection
|
vpn-connection
| vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for the
filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
filters
- The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
|
dedicated-host
| dhcp-options
| elastic-ip
| fleet
|
fpga-image
| host-reservation
| image
| instance
|
internet-gateway
| key-pair
| launch-template
|
natgateway
| network-acl
| network-interface
|
placement-group
| reserved-instances
| route-table
|
security-group
| snapshot
| spot-instances-request
|
subnet
| volume
| vpc
| vpc-endpoint
|
vpc-endpoint-service
| vpc-peering-connection
| vpn-connection
|
vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for
the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
public DescribeTagsRequest withFilters(Filter... filters)
The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
| dedicated-host
|
dhcp-options
| elastic-ip
| fleet
| fpga-image
|
host-reservation
| image
| instance
| internet-gateway
|
key-pair
| launch-template
| natgateway
| network-acl
|
network-interface
| placement-group
| reserved-instances
|
route-table
| security-group
| snapshot
|
spot-instances-request
| subnet
| volume
| vpc
|
vpc-endpoint
| vpc-endpoint-service
| vpc-peering-connection
|
vpn-connection
| vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for the
filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
|
dedicated-host
| dhcp-options
| elastic-ip
| fleet
|
fpga-image
| host-reservation
| image
| instance
|
internet-gateway
| key-pair
| launch-template
|
natgateway
| network-acl
| network-interface
|
placement-group
| reserved-instances
| route-table
|
security-group
| snapshot
| spot-instances-request
|
subnet
| volume
| vpc
| vpc-endpoint
|
vpc-endpoint-service
| vpc-peering-connection
| vpn-connection
|
vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for
the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
public DescribeTagsRequest withFilters(Collection<Filter> filters)
The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
| dedicated-host
|
dhcp-options
| elastic-ip
| fleet
| fpga-image
|
host-reservation
| image
| instance
| internet-gateway
|
key-pair
| launch-template
| natgateway
| network-acl
|
network-interface
| placement-group
| reserved-instances
|
route-table
| security-group
| snapshot
|
spot-instances-request
| subnet
| volume
| vpc
|
vpc-endpoint
| vpc-endpoint-service
| vpc-peering-connection
|
vpn-connection
| vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for the
filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
filters
- The filters.
key
- The tag key.
resource-id
- The ID of the resource.
resource-type
- The resource type (customer-gateway
|
dedicated-host
| dhcp-options
| elastic-ip
| fleet
|
fpga-image
| host-reservation
| image
| instance
|
internet-gateway
| key-pair
| launch-template
|
natgateway
| network-acl
| network-interface
|
placement-group
| reserved-instances
| route-table
|
security-group
| snapshot
| spot-instances-request
|
subnet
| volume
| vpc
| vpc-endpoint
|
vpc-endpoint-service
| vpc-peering-connection
| vpn-connection
|
vpn-gateway
).
tag
:<key> - The key/value combination of the tag. For example, specify "tag:Owner" for
the filter name and "TeamA" for the filter value to find resources with the tag "Owner=TeamA".
value
- The tag value.
public void setMaxResults(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.
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.public Integer getMaxResults()
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 DescribeTagsRequest withMaxResults(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.
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.public void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeTagsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public Request<DescribeTagsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeTagsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()