Class Reference
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.Reference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Reference.Builder,Reference>
@Generated("software.amazon.awssdk:codegen") public final class Reference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Reference.Builder,Reference>
Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the referencestatic Reference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Reference.Builder>serializableBuilderClass()ReferenceStatusstatus()Status of the attachment reference type.StringstatusAsString()Status of the attachment reference type.StringstatusReason()Relevant details why the reference was not successfully created.Reference.BuildertoBuilder()StringtoString()Returns a string representation of this object.ReferenceTypetype()The type of the reference.StringtypeAsString()The type of the reference.Stringvalue()A valid value for the 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
-
value
public final String value()
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
- Returns:
- A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
-
type
public final ReferenceType type()
The type of the reference.
DATEmust be of type Epoch timestamp.If the service returns an enum value that is not available in the current SDK version,
typewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the reference.
DATEmust be of type Epoch timestamp. - See Also:
ReferenceType
-
typeAsString
public final String typeAsString()
The type of the reference.
DATEmust be of type Epoch timestamp.If the service returns an enum value that is not available in the current SDK version,
typewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the reference.
DATEmust be of type Epoch timestamp. - See Also:
ReferenceType
-
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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the reference
- Returns:
- The Amazon Resource Name (ARN) of the reference
-
statusReason
public final String statusReason()
Relevant details why the reference was not successfully created.
- Returns:
- Relevant details why the reference was not successfully created.
-
toBuilder
public Reference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Reference.Builder,Reference>
-
builder
public static Reference.Builder builder()
-
serializableBuilderClass
public static Class<? extends Reference.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-