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