public class SearchResourceTagsRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Searches tags used in an Amazon Connect instance using optional search criteria.
| Constructor and Description |
|---|
SearchResourceTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.List<java.lang.String> |
getResourceTypes()
The list of resource types to be used to search tags from.
|
ResourceTagsSearchCriteria |
getSearchCriteria()
The search criteria to be used to return tags.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
The list of resource types to be used to search tags from.
|
void |
setSearchCriteria(ResourceTagsSearchCriteria searchCriteria)
The search criteria to be used to return tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchResourceTagsRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
SearchResourceTagsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
SearchResourceTagsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
SearchResourceTagsRequest |
withResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
The list of resource types to be used to search tags from.
|
SearchResourceTagsRequest |
withResourceTypes(java.lang.String... resourceTypes)
The list of resource types to be used to search tags from.
|
SearchResourceTagsRequest |
withSearchCriteria(ResourceTagsSearchCriteria searchCriteria)
The search criteria to be used to return tags.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
public SearchResourceTagsRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
Pattern:
^(arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0
-9]{1,20}:instance
/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
public java.util.List<java.lang.String> getResourceTypes()
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
public void setResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
resourceTypes - The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
public SearchResourceTagsRequest withResourceTypes(java.lang.String... resourceTypes)
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
Returns a reference to this object so that method calls can be chained together.
resourceTypes - The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
public SearchResourceTagsRequest withResourceTypes(java.util.Collection<java.lang.String> resourceTypes)
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
Returns a reference to this object so that method calls can be chained together.
resourceTypes - The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 2500
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 2500
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public SearchResourceTagsRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2500
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
The maximum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public SearchResourceTagsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public ResourceTagsSearchCriteria getSearchCriteria()
The search criteria to be used to return tags.
The search criteria to be used to return tags.
public void setSearchCriteria(ResourceTagsSearchCriteria searchCriteria)
The search criteria to be used to return tags.
searchCriteria - The search criteria to be used to return tags.
public SearchResourceTagsRequest withSearchCriteria(ResourceTagsSearchCriteria searchCriteria)
The search criteria to be used to return tags.
Returns a reference to this object so that method calls can be chained together.
searchCriteria - The search criteria to be used to return tags.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object