@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachmentReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about the attachment reference if 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 an attachment reference type.
|
String |
getValue()
Contains 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 an attachment reference type.
|
void |
setValue(String value)
Contains 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 an attachment reference type.
|
AttachmentReference |
withStatus(String status)
Status of an attachment reference type.
|
AttachmentReference |
withValue(String value)
Contains 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)
Contains the location path of the attachment reference.
value
- Contains the location path of the attachment reference.public String getValue()
Contains the location path of the attachment reference.
public AttachmentReference withValue(String value)
Contains the location path of the attachment reference.
value
- Contains the location path of the attachment reference.public void setStatus(String status)
Status of an attachment reference type.
status
- Status of an attachment reference type.ReferenceStatus
public String getStatus()
Status of an attachment reference type.
ReferenceStatus
public AttachmentReference withStatus(String status)
Status of an attachment reference type.
status
- Status of an attachment reference type.ReferenceStatus
public AttachmentReference withStatus(ReferenceStatus status)
Status of an attachment reference type.
status
- Status of an 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.