@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReferenceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about a reference. ReferenceSummary contains only one non null field
between the URL and attachment based on the reference type.
| Constructor and Description |
|---|
ReferenceSummary() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceSummary |
clone() |
boolean |
equals(Object obj) |
AttachmentReference |
getAttachment()
Information about the attachment reference if the
referenceType is ATTACHMENT. |
UrlReference |
getUrl()
Information about the URL reference if the
referenceType is URL. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttachment(AttachmentReference attachment)
Information about the attachment reference if the
referenceType is ATTACHMENT. |
void |
setUrl(UrlReference url)
Information about the URL reference if the
referenceType is URL. |
String |
toString()
Returns a string representation of this object.
|
ReferenceSummary |
withAttachment(AttachmentReference attachment)
Information about the attachment reference if the
referenceType is ATTACHMENT. |
ReferenceSummary |
withUrl(UrlReference url)
Information about the URL reference if the
referenceType is URL. |
public void setUrl(UrlReference url)
Information about the URL reference if the referenceType is URL. Otherwise, null.
url - Information about the URL reference if the referenceType is URL. Otherwise,
null.public UrlReference getUrl()
Information about the URL reference if the referenceType is URL. Otherwise, null.
referenceType is URL. Otherwise,
null.public ReferenceSummary withUrl(UrlReference url)
Information about the URL reference if the referenceType is URL. Otherwise, null.
url - Information about the URL reference if the referenceType is URL. Otherwise,
null.public void setAttachment(AttachmentReference attachment)
Information about the attachment reference if the referenceType is ATTACHMENT.
Otherwise, null.
attachment - Information about the attachment reference if the referenceType is ATTACHMENT.
Otherwise, null.public AttachmentReference getAttachment()
Information about the attachment reference if the referenceType is ATTACHMENT.
Otherwise, null.
referenceType is ATTACHMENT.
Otherwise, null.public ReferenceSummary withAttachment(AttachmentReference attachment)
Information about the attachment reference if the referenceType is ATTACHMENT.
Otherwise, null.
attachment - Information about the attachment reference if the referenceType is ATTACHMENT.
Otherwise, null.public String toString()
toString in class ObjectObject.toString()public ReferenceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.