Interface ImportDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportDestination.Builder,,ImportDestination> SdkBuilder<ImportDestination.Builder,,ImportDestination> SdkPojo
- Enclosing class:
ImportDestination
@Mutable
@NotThreadSafe
public static interface ImportDestination.Builder
extends SdkPojo, CopyableBuilder<ImportDestination.Builder,ImportDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImportDestination.BuildercontactListDestination(Consumer<ContactListDestination.Builder> contactListDestination) An object that contains the action of the import job towards a contact list.contactListDestination(ContactListDestination contactListDestination) An object that contains the action of the import job towards a contact list.default ImportDestination.BuildersuppressionListDestination(Consumer<SuppressionListDestination.Builder> suppressionListDestination) An object that contains the action of the import job towards suppression list.suppressionListDestination(SuppressionListDestination suppressionListDestination) An object that contains the action of the import job towards suppression list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
suppressionListDestination
ImportDestination.Builder suppressionListDestination(SuppressionListDestination suppressionListDestination) An object that contains the action of the import job towards suppression list.
- Parameters:
suppressionListDestination- An object that contains the action of the import job towards suppression list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressionListDestination
default ImportDestination.Builder suppressionListDestination(Consumer<SuppressionListDestination.Builder> suppressionListDestination) An object that contains the action of the import job towards suppression list.
This is a convenience method that creates an instance of theSuppressionListDestination.Builderavoiding the need to create one manually viaSuppressionListDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuppressionListDestination(SuppressionListDestination).- Parameters:
suppressionListDestination- a consumer that will call methods onSuppressionListDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contactListDestination
An object that contains the action of the import job towards a contact list.
- Parameters:
contactListDestination- An object that contains the action of the import job towards a contact list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactListDestination
default ImportDestination.Builder contactListDestination(Consumer<ContactListDestination.Builder> contactListDestination) An object that contains the action of the import job towards a contact list.
This is a convenience method that creates an instance of theContactListDestination.Builderavoiding the need to create one manually viaContactListDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontactListDestination(ContactListDestination).- Parameters:
contactListDestination- a consumer that will call methods onContactListDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-