@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about a reference when the referenceType
is ATTACHMENT
. Otherwise, null.
Constructor and Description |
---|
AttachmentReference() |
Modifier and Type | Method and Description |
---|---|
AttachmentReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Identifier of the attachment reference.
|
String |
getStatus()
Status of the attachment reference type.
|
String |
getValue()
The location path of the attachment reference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Identifier of the attachment reference.
|
void |
setStatus(String status)
Status of the attachment reference type.
|
void |
setValue(String value)
The location path of the attachment reference.
|
String |
toString()
Returns a string representation of this object.
|
AttachmentReference |
withName(String name)
Identifier of the attachment reference.
|
AttachmentReference |
withStatus(ReferenceStatus status)
Status of the attachment reference type.
|
AttachmentReference |
withStatus(String status)
Status of the attachment reference type.
|
AttachmentReference |
withValue(String value)
The location path of the attachment reference.
|
public void setName(String name)
Identifier of the attachment reference.
name
- Identifier of the attachment reference.public String getName()
Identifier of the attachment reference.
public AttachmentReference withName(String name)
Identifier of the attachment reference.
name
- Identifier of the attachment reference.public void setValue(String value)
The location path of the attachment reference.
value
- The location path of the attachment reference.public String getValue()
The location path of the attachment reference.
public AttachmentReference withValue(String value)
The location path of the attachment reference.
value
- The location path of the attachment reference.public void setStatus(String status)
Status of the attachment reference type.
status
- Status of the attachment reference type.ReferenceStatus
public String getStatus()
Status of the attachment reference type.
ReferenceStatus
public AttachmentReference withStatus(String status)
Status of the attachment reference type.
status
- Status of the attachment reference type.ReferenceStatus
public AttachmentReference withStatus(ReferenceStatus status)
Status of the attachment reference type.
status
- Status of the attachment reference type.ReferenceStatus
public String toString()
toString
in class Object
Object.toString()
public AttachmentReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.