public class AttachmentReference
extends java.lang.Object
implements java.io.Serializable
Information about a reference when the referenceType is
ATTACHMENT. Otherwise, null.
| Constructor and Description |
|---|
AttachmentReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Identifier of the attachment reference.
|
java.lang.String |
getStatus()
Status of the attachment reference type.
|
java.lang.String |
getValue()
The location path of the attachment reference.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Identifier of the attachment reference.
|
void |
setStatus(ReferenceStatus status)
Status of the attachment reference type.
|
void |
setStatus(java.lang.String status)
Status of the attachment reference type.
|
void |
setValue(java.lang.String value)
The location path of the attachment reference.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachmentReference |
withName(java.lang.String name)
Identifier of the attachment reference.
|
AttachmentReference |
withStatus(ReferenceStatus status)
Status of the attachment reference type.
|
AttachmentReference |
withStatus(java.lang.String status)
Status of the attachment reference type.
|
AttachmentReference |
withValue(java.lang.String value)
The location path of the attachment reference.
|
public java.lang.String getName()
Identifier of the attachment reference.
Constraints:
Length: 1 - 4096
Identifier of the attachment reference.
public void setName(java.lang.String name)
Identifier of the attachment reference.
Constraints:
Length: 1 - 4096
name - Identifier of the attachment reference.
public AttachmentReference withName(java.lang.String name)
Identifier of the attachment reference.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 4096
name - Identifier of the attachment reference.
public java.lang.String getValue()
The location path of the attachment reference.
Constraints:
Length: 0 - 4096
The location path of the attachment reference.
public void setValue(java.lang.String value)
The location path of the attachment reference.
Constraints:
Length: 0 - 4096
value - The location path of the attachment reference.
public AttachmentReference withValue(java.lang.String value)
The location path of the attachment reference.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
value - The location path of the attachment reference.
public java.lang.String getStatus()
Status of the attachment reference type.
Constraints:
Allowed Values: APPROVED, REJECTED
Status of the attachment reference type.
ReferenceStatuspublic void setStatus(java.lang.String status)
Status of the attachment reference type.
Constraints:
Allowed Values: APPROVED, REJECTED
status - Status of the attachment reference type.
ReferenceStatuspublic AttachmentReference withStatus(java.lang.String status)
Status of the attachment reference type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APPROVED, REJECTED
status - Status of the attachment reference type.
ReferenceStatuspublic void setStatus(ReferenceStatus status)
Status of the attachment reference type.
Constraints:
Allowed Values: APPROVED, REJECTED
status - Status of the attachment reference type.
ReferenceStatuspublic AttachmentReference withStatus(ReferenceStatus status)
Status of the attachment reference type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APPROVED, REJECTED
status - Status of the attachment reference type.
ReferenceStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object