Class AttachmentReference
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.AttachmentReference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttachmentReference.Builder,AttachmentReference>
@Generated("software.amazon.awssdk:codegen") public final class AttachmentReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttachmentReference.Builder,AttachmentReference>
Information about a reference when the
referenceTypeisATTACHMENT. Otherwise, null.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachmentReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachmentReference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Identifier of the attachment reference.List<SdkField<?>>sdkFields()static Class<? extends AttachmentReference.Builder>serializableBuilderClass()ReferenceStatusstatus()Status of the attachment reference type.StringstatusAsString()Status of the attachment reference type.AttachmentReference.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The location path of the attachment reference.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Identifier of the attachment reference.
- Returns:
- Identifier of the attachment reference.
-
value
public final String value()
The location path of the attachment reference.
- Returns:
- The location path of the attachment reference.
-
status
public final ReferenceStatus status()
Status of the attachment reference type.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the attachment reference type.
- See Also:
ReferenceStatus
-
statusAsString
public final String statusAsString()
Status of the attachment reference type.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReferenceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the attachment reference type.
- See Also:
ReferenceStatus
-
toBuilder
public AttachmentReference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachmentReference.Builder,AttachmentReference>
-
builder
public static AttachmentReference.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachmentReference.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-