@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 or ID of the application.
|
String |
getResource()
The name or ID of the resource associated with the application.
|
String |
getResourceType()
The type of resource associated with the application.
|
int |
hashCode() |
void |
setApplication(String application)
The name or ID of the application.
|
void |
setResource(String resource)
The name or ID of the resource associated with the application.
|
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 or ID of the application.
|
GetAssociatedResourceRequest |
withResource(String resource)
The name or ID of the resource associated with the application.
|
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 or ID of the application.
application
- The name or ID of the application.public String getApplication()
The name or ID of the application.
public GetAssociatedResourceRequest withApplication(String application)
The name or ID of the application.
application
- The name or ID 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 String toString()
toString
in class Object
Object.toString()
public GetAssociatedResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()