@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAssociatedResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAssociatedResourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetAssociatedResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplication()
The name, ID, or ARN of the application.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
A unique pagination token for each page of results.
|
String |
getResource()
The name or ID of the resource associated with the application.
|
List<String> |
getResourceTagStatus()
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
|
String |
getResourceType()
The type of resource associated with the application.
|
int |
hashCode() |
void |
setApplication(String application)
The name, ID, or ARN of the application.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A unique pagination token for each page of results.
|
void |
setResource(String resource)
The name or ID of the resource associated with the application.
|
void |
setResourceTagStatus(Collection<String> resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
|
void |
setResourceType(String resourceType)
The type of resource associated with the application.
|
String |
toString()
Returns a string representation of this object.
|
GetAssociatedResourceRequest |
withApplication(String application)
The name, ID, or ARN of the application.
|
GetAssociatedResourceRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetAssociatedResourceRequest |
withNextToken(String nextToken)
A unique pagination token for each page of results.
|
GetAssociatedResourceRequest |
withResource(String resource)
The name or ID of the resource associated with the application.
|
GetAssociatedResourceRequest |
withResourceTagStatus(Collection<String> resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
|
GetAssociatedResourceRequest |
withResourceTagStatus(ResourceItemStatus... resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
|
GetAssociatedResourceRequest |
withResourceTagStatus(String... resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
|
GetAssociatedResourceRequest |
withResourceType(ResourceType resourceType)
The type of resource associated with the application.
|
GetAssociatedResourceRequest |
withResourceType(String resourceType)
The type of resource associated with the application.
|
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 void setApplication(String application)
The name, ID, or ARN of the application.
application
- The name, ID, or ARN of the application.public String getApplication()
The name, ID, or ARN of the application.
public GetAssociatedResourceRequest withApplication(String application)
The name, ID, or ARN of the application.
application
- The name, ID, or ARN of the application.public void setResourceType(String resourceType)
The type of resource associated with the application.
resourceType
- The type of resource associated with the application.ResourceType
public String getResourceType()
The type of resource associated with the application.
ResourceType
public GetAssociatedResourceRequest withResourceType(String resourceType)
The type of resource associated with the application.
resourceType
- The type of resource associated with the application.ResourceType
public GetAssociatedResourceRequest withResourceType(ResourceType resourceType)
The type of resource associated with the application.
resourceType
- The type of resource associated with the application.ResourceType
public void setResource(String resource)
The name or ID of the resource associated with the application.
resource
- The name or ID of the resource associated with the application.public String getResource()
The name or ID of the resource associated with the application.
public GetAssociatedResourceRequest withResource(String resource)
The name or ID of the resource associated with the application.
resource
- The name or ID of the resource associated with the application.public void setNextToken(String nextToken)
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
nextToken
- A unique pagination token for each page of results. Make the call again with the returned token to
retrieve the next page of results.public String getNextToken()
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
public GetAssociatedResourceRequest withNextToken(String nextToken)
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
nextToken
- A unique pagination token for each page of results. Make the call again with the returned token to
retrieve the next page of results.public List<String> getResourceTagStatus()
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
ResourceItemStatus
public void setResourceTagStatus(Collection<String> resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
resourceTagStatus
- States whether an application tag is applied, not applied, in the process of being applied, or skipped.ResourceItemStatus
public GetAssociatedResourceRequest withResourceTagStatus(String... resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTagStatus(java.util.Collection)
or withResourceTagStatus(java.util.Collection)
if
you want to override the existing values.
resourceTagStatus
- States whether an application tag is applied, not applied, in the process of being applied, or skipped.ResourceItemStatus
public GetAssociatedResourceRequest withResourceTagStatus(Collection<String> resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
resourceTagStatus
- States whether an application tag is applied, not applied, in the process of being applied, or skipped.ResourceItemStatus
public GetAssociatedResourceRequest withResourceTagStatus(ResourceItemStatus... resourceTagStatus)
States whether an application tag is applied, not applied, in the process of being applied, or skipped.
resourceTagStatus
- States whether an application tag is applied, not applied, in the process of being applied, or skipped.ResourceItemStatus
public void setMaxResults(Integer maxResults)
The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.
maxResults
- The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is
optional.public Integer getMaxResults()
The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.
public GetAssociatedResourceRequest withMaxResults(Integer maxResults)
The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.
maxResults
- The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is
optional.public String toString()
toString
in class Object
Object.toString()
public GetAssociatedResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()