@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemRelatedItemSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about related-item resources for an OpsItem.
Constructor and Description |
---|
OpsItemRelatedItemSummary() |
Modifier and Type | Method and Description |
---|---|
OpsItemRelatedItemSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The association ID.
|
String |
getAssociationType()
The association type.
|
OpsItemIdentity |
getCreatedBy() |
Date |
getCreatedTime()
The time the related-item association was created.
|
OpsItemIdentity |
getLastModifiedBy() |
Date |
getLastModifiedTime()
The time the related-item association was last updated.
|
String |
getOpsItemId()
The OpsItem ID.
|
String |
getResourceType()
The resource type.
|
String |
getResourceUri()
The Amazon Resource Name (ARN) of the related-item resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The association ID.
|
void |
setAssociationType(String associationType)
The association type.
|
void |
setCreatedBy(OpsItemIdentity createdBy) |
void |
setCreatedTime(Date createdTime)
The time the related-item association was created.
|
void |
setLastModifiedBy(OpsItemIdentity lastModifiedBy) |
void |
setLastModifiedTime(Date lastModifiedTime)
The time the related-item association was last updated.
|
void |
setOpsItemId(String opsItemId)
The OpsItem ID.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the related-item resource.
|
String |
toString()
Returns a string representation of this object.
|
OpsItemRelatedItemSummary |
withAssociationId(String associationId)
The association ID.
|
OpsItemRelatedItemSummary |
withAssociationType(String associationType)
The association type.
|
OpsItemRelatedItemSummary |
withCreatedBy(OpsItemIdentity createdBy) |
OpsItemRelatedItemSummary |
withCreatedTime(Date createdTime)
The time the related-item association was created.
|
OpsItemRelatedItemSummary |
withLastModifiedBy(OpsItemIdentity lastModifiedBy) |
OpsItemRelatedItemSummary |
withLastModifiedTime(Date lastModifiedTime)
The time the related-item association was last updated.
|
OpsItemRelatedItemSummary |
withOpsItemId(String opsItemId)
The OpsItem ID.
|
OpsItemRelatedItemSummary |
withResourceType(String resourceType)
The resource type.
|
OpsItemRelatedItemSummary |
withResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the related-item resource.
|
public void setOpsItemId(String opsItemId)
The OpsItem ID.
opsItemId
- The OpsItem ID.public String getOpsItemId()
The OpsItem ID.
public OpsItemRelatedItemSummary withOpsItemId(String opsItemId)
The OpsItem ID.
opsItemId
- The OpsItem ID.public void setAssociationId(String associationId)
The association ID.
associationId
- The association ID.public String getAssociationId()
The association ID.
public OpsItemRelatedItemSummary withAssociationId(String associationId)
The association ID.
associationId
- The association ID.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public String getResourceType()
The resource type.
public OpsItemRelatedItemSummary withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public void setAssociationType(String associationType)
The association type.
associationType
- The association type.public String getAssociationType()
The association type.
public OpsItemRelatedItemSummary withAssociationType(String associationType)
The association type.
associationType
- The association type.public void setResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the related-item resource.
resourceUri
- The Amazon Resource Name (ARN) of the related-item resource.public String getResourceUri()
The Amazon Resource Name (ARN) of the related-item resource.
public OpsItemRelatedItemSummary withResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the related-item resource.
resourceUri
- The Amazon Resource Name (ARN) of the related-item resource.public void setCreatedBy(OpsItemIdentity createdBy)
createdBy
- public OpsItemIdentity getCreatedBy()
public OpsItemRelatedItemSummary withCreatedBy(OpsItemIdentity createdBy)
createdBy
- public void setCreatedTime(Date createdTime)
The time the related-item association was created.
createdTime
- The time the related-item association was created.public Date getCreatedTime()
The time the related-item association was created.
public OpsItemRelatedItemSummary withCreatedTime(Date createdTime)
The time the related-item association was created.
createdTime
- The time the related-item association was created.public void setLastModifiedBy(OpsItemIdentity lastModifiedBy)
lastModifiedBy
- public OpsItemIdentity getLastModifiedBy()
public OpsItemRelatedItemSummary withLastModifiedBy(OpsItemIdentity lastModifiedBy)
lastModifiedBy
- public void setLastModifiedTime(Date lastModifiedTime)
The time the related-item association was last updated.
lastModifiedTime
- The time the related-item association was last updated.public Date getLastModifiedTime()
The time the related-item association was last updated.
public OpsItemRelatedItemSummary withLastModifiedTime(Date lastModifiedTime)
The time the related-item association was last updated.
lastModifiedTime
- The time the related-item association was last updated.public String toString()
toString
in class Object
Object.toString()
public OpsItemRelatedItemSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.