Interface GetContactResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContactResponse.Builder,GetContactResponse>,SdkBuilder<GetContactResponse.Builder,GetContactResponse>,SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- GetContactResponse
public static interface GetContactResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetContactResponse.Builder,GetContactResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetContactResponse.BuilderattributesData(String attributesData)The attribute data attached to a contact.GetContactResponse.BuildercontactListName(String contactListName)The name of the contact list to which the contact belongs.GetContactResponse.BuildercreatedTimestamp(Instant createdTimestamp)A timestamp noting when the contact was created.GetContactResponse.BuilderemailAddress(String emailAddress)The contact's email address.GetContactResponse.BuilderlastUpdatedTimestamp(Instant lastUpdatedTimestamp)A timestamp noting the last time the contact's information was updated.GetContactResponse.BuildertopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)The default topic preferences applied to the contact.GetContactResponse.BuildertopicDefaultPreferences(Consumer<TopicPreference.Builder>... topicDefaultPreferences)The default topic preferences applied to the contact.GetContactResponse.BuildertopicDefaultPreferences(TopicPreference... topicDefaultPreferences)The default topic preferences applied to the contact.GetContactResponse.BuildertopicPreferences(Collection<TopicPreference> topicPreferences)The contact's preference for being opted-in to or opted-out of a topic.>GetContactResponse.BuildertopicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)The contact's preference for being opted-in to or opted-out of a topic.>GetContactResponse.BuildertopicPreferences(TopicPreference... topicPreferences)The contact's preference for being opted-in to or opted-out of a topic.>GetContactResponse.BuilderunsubscribeAll(Boolean unsubscribeAll)A boolean value status noting if the contact is unsubscribed from all contact list topics.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
contactListName
GetContactResponse.Builder contactListName(String contactListName)
The name of the contact list to which the contact belongs.
- Parameters:
contactListName- The name of the contact list to which the contact belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddress
GetContactResponse.Builder emailAddress(String emailAddress)
The contact's email address.
- Parameters:
emailAddress- The contact's email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
GetContactResponse.Builder topicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
- Parameters:
topicPreferences- The contact's preference for being opted-in to or opted-out of a topic.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
GetContactResponse.Builder topicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
- Parameters:
topicPreferences- The contact's preference for being opted-in to or opted-out of a topic.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicPreferences
GetContactResponse.Builder topicPreferences(Consumer<TopicPreference.Builder>... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
This is a convenience method that creates an instance of theTopicPreference.Builderavoiding the need to create one manually viaTopicPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicPreferences(List.) - Parameters:
topicPreferences- a consumer that will call methods onTopicPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicPreferences(java.util.Collection)
-
topicDefaultPreferences
GetContactResponse.Builder topicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
- Parameters:
topicDefaultPreferences- The default topic preferences applied to the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicDefaultPreferences
GetContactResponse.Builder topicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
- Parameters:
topicDefaultPreferences- The default topic preferences applied to the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicDefaultPreferences
GetContactResponse.Builder topicDefaultPreferences(Consumer<TopicPreference.Builder>... topicDefaultPreferences)
The default topic preferences applied to the contact.
This is a convenience method that creates an instance of theTopicPreference.Builderavoiding the need to create one manually viaTopicPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicDefaultPreferences(List.) - Parameters:
topicDefaultPreferences- a consumer that will call methods onTopicPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicDefaultPreferences(java.util.Collection)
-
unsubscribeAll
GetContactResponse.Builder unsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
- Parameters:
unsubscribeAll- A boolean value status noting if the contact is unsubscribed from all contact list topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesData
GetContactResponse.Builder attributesData(String attributesData)
The attribute data attached to a contact.
- Parameters:
attributesData- The attribute data attached to a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
GetContactResponse.Builder createdTimestamp(Instant createdTimestamp)
A timestamp noting when the contact was created.
- Parameters:
createdTimestamp- A timestamp noting when the contact was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
GetContactResponse.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
- Parameters:
lastUpdatedTimestamp- A timestamp noting the last time the contact's information was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-