@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImageAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeImageAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImageAssociationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAssociatedResourceTypes()
The resource types of the associated resource.
|
String |
getImageId()
The identifier of the image.
|
int |
hashCode() |
void |
setAssociatedResourceTypes(Collection<String> associatedResourceTypes)
The resource types of the associated resource.
|
void |
setImageId(String imageId)
The identifier of the image.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImageAssociationsRequest |
withAssociatedResourceTypes(Collection<String> associatedResourceTypes)
The resource types of the associated resource.
|
DescribeImageAssociationsRequest |
withAssociatedResourceTypes(ImageAssociatedResourceType... associatedResourceTypes)
The resource types of the associated resource.
|
DescribeImageAssociationsRequest |
withAssociatedResourceTypes(String... associatedResourceTypes)
The resource types of the associated resource.
|
DescribeImageAssociationsRequest |
withImageId(String imageId)
The identifier of the image.
|
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 setImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public String getImageId()
The identifier of the image.
public DescribeImageAssociationsRequest withImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public List<String> getAssociatedResourceTypes()
The resource types of the associated resource.
ImageAssociatedResourceType
public void setAssociatedResourceTypes(Collection<String> associatedResourceTypes)
The resource types of the associated resource.
associatedResourceTypes
- The resource types of the associated resource.ImageAssociatedResourceType
public DescribeImageAssociationsRequest withAssociatedResourceTypes(String... associatedResourceTypes)
The resource types of the associated resource.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedResourceTypes(java.util.Collection)
or
withAssociatedResourceTypes(java.util.Collection)
if you want to override the existing values.
associatedResourceTypes
- The resource types of the associated resource.ImageAssociatedResourceType
public DescribeImageAssociationsRequest withAssociatedResourceTypes(Collection<String> associatedResourceTypes)
The resource types of the associated resource.
associatedResourceTypes
- The resource types of the associated resource.ImageAssociatedResourceType
public DescribeImageAssociationsRequest withAssociatedResourceTypes(ImageAssociatedResourceType... associatedResourceTypes)
The resource types of the associated resource.
associatedResourceTypes
- The resource types of the associated resource.ImageAssociatedResourceType
public String toString()
toString
in class Object
Object.toString()
public DescribeImageAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()