Interface ImportDestination.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportDestination.Builder,ImportDestination>
,SdkBuilder<ImportDestination.Builder,ImportDestination>
,SdkPojo
- Enclosing class:
- ImportDestination
public static interface ImportDestination.Builder extends SdkPojo, CopyableBuilder<ImportDestination.Builder,ImportDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ImportDestination.Builder
contactListDestination(Consumer<ContactListDestination.Builder> contactListDestination)
An object that contains the action of the import job towards a contact list.ImportDestination.Builder
contactListDestination(ContactListDestination contactListDestination)
An object that contains the action of the import job towards a contact list.default ImportDestination.Builder
suppressionListDestination(Consumer<SuppressionListDestination.Builder> suppressionListDestination)
An object that contains the action of the import job towards suppression list.ImportDestination.Builder
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
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
-
-
-
-
Method Detail
-
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.Builder
avoiding the need to create one manually viaSuppressionListDestination.builder()
.When the
Consumer
completes,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:
suppressionListDestination(SuppressionListDestination)
-
contactListDestination
ImportDestination.Builder contactListDestination(ContactListDestination 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.Builder
avoiding the need to create one manually viaContactListDestination.builder()
.When the
Consumer
completes,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:
contactListDestination(ContactListDestination)
-
-