@Generated(value="software.amazon.awssdk:codegen") public final class RelatedItemInputContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>
Represents the content of a related item to be created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RelatedItemInputContent.Builder |
static class |
RelatedItemInputContent.Type |
| Modifier and Type | Method and Description |
|---|---|
static RelatedItemInputContent.Builder |
builder() |
CommentContent |
comment()
Represents the content of a comment to be returned to agents.
|
Contact |
contact()
Object representing a contact in Amazon Connect as an API request field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static RelatedItemInputContent |
fromComment(CommentContent comment)
Create an instance of this class with
comment() initialized to the given value. |
static RelatedItemInputContent |
fromComment(Consumer<CommentContent.Builder> comment)
Create an instance of this class with
comment() initialized to the given value. |
static RelatedItemInputContent |
fromContact(Consumer<Contact.Builder> contact)
Create an instance of this class with
contact() initialized to the given value. |
static RelatedItemInputContent |
fromContact(Contact contact)
Create an instance of this class with
contact() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelatedItemInputContent.Builder> |
serializableBuilderClass() |
RelatedItemInputContent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RelatedItemInputContent.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CommentContent comment()
Represents the content of a comment to be returned to agents.
public final Contact contact()
Object representing a contact in Amazon Connect as an API request field.
public RelatedItemInputContent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RelatedItemInputContent.Builder,RelatedItemInputContent>public static RelatedItemInputContent.Builder builder()
public static Class<? extends RelatedItemInputContent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static RelatedItemInputContent fromComment(CommentContent comment)
comment() initialized to the given value.
Represents the content of a comment to be returned to agents.
comment - Represents the content of a comment to be returned to agents.public static RelatedItemInputContent fromComment(Consumer<CommentContent.Builder> comment)
comment() initialized to the given value.
Represents the content of a comment to be returned to agents.
comment - Represents the content of a comment to be returned to agents.public static RelatedItemInputContent fromContact(Contact contact)
contact() initialized to the given value.
Object representing a contact in Amazon Connect as an API request field.
contact - Object representing a contact in Amazon Connect as an API request field.public static RelatedItemInputContent fromContact(Consumer<Contact.Builder> contact)
contact() initialized to the given value.
Object representing a contact in Amazon Connect as an API request field.
contact - Object representing a contact in Amazon Connect as an API request field.public RelatedItemInputContent.Type type()
RelatedItemInputContent.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be RelatedItemInputContent.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.