@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageResourceAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes the association between an application and an image resource.
Constructor and Description |
---|
ImageResourceAssociation() |
Modifier and Type | Method and Description |
---|---|
ImageResourceAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociatedResourceId()
The identifier of the associated resource.
|
String |
getAssociatedResourceType()
The resource type of the associated resources.
|
Date |
getCreated()
The time the association is created.
|
String |
getImageId()
The identifier of the image.
|
Date |
getLastUpdatedTime()
The time the association status was last updated.
|
String |
getState()
The status of the image resource association.
|
AssociationStateReason |
getStateReason()
The reason the association deployment failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
|
void |
setAssociatedResourceType(String associatedResourceType)
The resource type of the associated resources.
|
void |
setCreated(Date created)
The time the association is created.
|
void |
setImageId(String imageId)
The identifier of the image.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
|
void |
setState(String state)
The status of the image resource association.
|
void |
setStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
|
String |
toString()
Returns a string representation of this object.
|
ImageResourceAssociation |
withAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
|
ImageResourceAssociation |
withAssociatedResourceType(ImageAssociatedResourceType associatedResourceType)
The resource type of the associated resources.
|
ImageResourceAssociation |
withAssociatedResourceType(String associatedResourceType)
The resource type of the associated resources.
|
ImageResourceAssociation |
withCreated(Date created)
The time the association is created.
|
ImageResourceAssociation |
withImageId(String imageId)
The identifier of the image.
|
ImageResourceAssociation |
withLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
|
ImageResourceAssociation |
withState(AssociationState state)
The status of the image resource association.
|
ImageResourceAssociation |
withState(String state)
The status of the image resource association.
|
ImageResourceAssociation |
withStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
|
public void setAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
associatedResourceId
- The identifier of the associated resource.public String getAssociatedResourceId()
The identifier of the associated resource.
public ImageResourceAssociation withAssociatedResourceId(String associatedResourceId)
The identifier of the associated resource.
associatedResourceId
- The identifier of the associated resource.public void setAssociatedResourceType(String associatedResourceType)
The resource type of the associated resources.
associatedResourceType
- The resource type of the associated resources.ImageAssociatedResourceType
public String getAssociatedResourceType()
The resource type of the associated resources.
ImageAssociatedResourceType
public ImageResourceAssociation withAssociatedResourceType(String associatedResourceType)
The resource type of the associated resources.
associatedResourceType
- The resource type of the associated resources.ImageAssociatedResourceType
public ImageResourceAssociation withAssociatedResourceType(ImageAssociatedResourceType associatedResourceType)
The resource type of the associated resources.
associatedResourceType
- The resource type of the associated resources.ImageAssociatedResourceType
public void setCreated(Date created)
The time the association is created.
created
- The time the association is created.public Date getCreated()
The time the association is created.
public ImageResourceAssociation withCreated(Date created)
The time the association is created.
created
- The time the association is created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
lastUpdatedTime
- The time the association status was last updated.public Date getLastUpdatedTime()
The time the association status was last updated.
public ImageResourceAssociation withLastUpdatedTime(Date lastUpdatedTime)
The time the association status was last updated.
lastUpdatedTime
- The time the association status was last updated.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 ImageResourceAssociation withImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public void setState(String state)
The status of the image resource association.
state
- The status of the image resource association.AssociationState
public String getState()
The status of the image resource association.
AssociationState
public ImageResourceAssociation withState(String state)
The status of the image resource association.
state
- The status of the image resource association.AssociationState
public ImageResourceAssociation withState(AssociationState state)
The status of the image resource association.
state
- The status of the image resource association.AssociationState
public void setStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
stateReason
- The reason the association deployment failed.public AssociationStateReason getStateReason()
The reason the association deployment failed.
public ImageResourceAssociation withStateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
stateReason
- The reason the association deployment failed.public String toString()
toString
in class Object
Object.toString()
public ImageResourceAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.