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