@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateResourceRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateResourceRequest |
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.
|
List<String> |
getOptions()
Determines whether an application tag is applied or skipped.
|
String |
getResource()
The name or ID of the resource of which the application will be associated.
|
String |
getResourceType()
The type of resource of which the application will be associated.
|
int |
hashCode() |
void |
setApplication(String application)
The name, ID, or ARN of the application.
|
void |
setOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
|
void |
setResource(String resource)
The name or ID of the resource of which the application will be associated.
|
void |
setResourceType(String resourceType)
The type of resource of which the application will be associated.
|
String |
toString()
Returns a string representation of this object.
|
AssociateResourceRequest |
withApplication(String application)
The name, ID, or ARN of the application.
|
AssociateResourceRequest |
withOptions(AssociationOption... options)
Determines whether an application tag is applied or skipped.
|
AssociateResourceRequest |
withOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
|
AssociateResourceRequest |
withOptions(String... options)
Determines whether an application tag is applied or skipped.
|
AssociateResourceRequest |
withResource(String resource)
The name or ID of the resource of which the application will be associated.
|
AssociateResourceRequest |
withResourceType(ResourceType resourceType)
The type of resource of which the application will be associated.
|
AssociateResourceRequest |
withResourceType(String resourceType)
The type of resource of which the application will be associated.
|
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 AssociateResourceRequest 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 of which the application will be associated.
resourceType
- The type of resource of which the application will be associated.ResourceType
public String getResourceType()
The type of resource of which the application will be associated.
ResourceType
public AssociateResourceRequest withResourceType(String resourceType)
The type of resource of which the application will be associated.
resourceType
- The type of resource of which the application will be associated.ResourceType
public AssociateResourceRequest withResourceType(ResourceType resourceType)
The type of resource of which the application will be associated.
resourceType
- The type of resource of which the application will be associated.ResourceType
public void setResource(String resource)
The name or ID of the resource of which the application will be associated.
resource
- The name or ID of the resource of which the application will be associated.public String getResource()
The name or ID of the resource of which the application will be associated.
public AssociateResourceRequest withResource(String resource)
The name or ID of the resource of which the application will be associated.
resource
- The name or ID of the resource of which the application will be associated.public List<String> getOptions()
Determines whether an application tag is applied or skipped.
AssociationOption
public void setOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public AssociateResourceRequest withOptions(String... options)
Determines whether an application tag is applied or skipped.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection)
or withOptions(java.util.Collection)
if you want to override
the existing values.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public AssociateResourceRequest withOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public AssociateResourceRequest withOptions(AssociationOption... options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public String toString()
toString
in class Object
Object.toString()
public AssociateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()