@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentStateChange extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a change in state for a task attachment.
Constructor and Description |
---|
AttachmentStateChange() |
Modifier and Type | Method and Description |
---|---|
AttachmentStateChange |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentArn()
The Amazon Resource Name (ARN) of the attachment.
|
String |
getStatus()
The status of the attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the attachment.
|
void |
setStatus(String status)
The status of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentStateChange |
withAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the attachment.
|
AttachmentStateChange |
withStatus(String status)
The status of the attachment.
|
public void setAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the attachment.
attachmentArn
- The Amazon Resource Name (ARN) of the attachment.public String getAttachmentArn()
The Amazon Resource Name (ARN) of the attachment.
public AttachmentStateChange withAttachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the attachment.
attachmentArn
- The Amazon Resource Name (ARN) of the attachment.public void setStatus(String status)
The status of the attachment.
status
- The status of the attachment.public String getStatus()
The status of the attachment.
public AttachmentStateChange withStatus(String status)
The status of the attachment.
status
- The status of the attachment.public String toString()
toString
in class Object
Object.toString()
public AttachmentStateChange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.