@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 or ID of the application.
|
String |
getResource()
The name or ID of the resource of which the application will be associated.
|
String |
getResourceType() |
int |
hashCode() |
void |
setApplication(String application)
The name or ID of the application.
|
void |
setResource(String resource)
The name or ID of the resource of which the application will be associated.
|
void |
setResourceType(String resourceType) |
String |
toString()
Returns a string representation of this object.
|
AssociateResourceRequest |
withApplication(String application)
The name or ID of the application.
|
AssociateResourceRequest |
withResource(String resource)
The name or ID of the resource of which the application will be associated.
|
AssociateResourceRequest |
withResourceType(ResourceType resourceType) |
AssociateResourceRequest |
withResourceType(String resourceType) |
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, withSdkRequestTimeoutpublic void setApplication(String application)
The name or ID of the application.
application - The name or ID of the application.public String getApplication()
The name or ID of the application.
public AssociateResourceRequest withApplication(String application)
The name or ID of the application.
application - The name or ID of the application.public void setResourceType(String resourceType)
resourceType - ResourceTypepublic String getResourceType()
ResourceTypepublic AssociateResourceRequest withResourceType(String resourceType)
resourceType - ResourceTypepublic AssociateResourceRequest withResourceType(ResourceType resourceType)
resourceType - ResourceTypepublic 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 String toString()
toString in class ObjectObject.toString()public AssociateResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()