Interface RedshiftLineageSyncConfigurationInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftLineageSyncConfigurationInput.Builder,
,RedshiftLineageSyncConfigurationInput> SdkBuilder<RedshiftLineageSyncConfigurationInput.Builder,
,RedshiftLineageSyncConfigurationInput> SdkPojo
- Enclosing class:
RedshiftLineageSyncConfigurationInput
@Mutable
@NotThreadSafe
public static interface RedshiftLineageSyncConfigurationInput.Builder
extends SdkPojo, CopyableBuilder<RedshiftLineageSyncConfigurationInput.Builder,RedshiftLineageSyncConfigurationInput>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the Amaon Redshift lineage sync configuration is enabled.schedule
(Consumer<LineageSyncSchedule.Builder> schedule) The schedule of the Amaon Redshift lineage sync configuration.schedule
(LineageSyncSchedule schedule) The schedule of the Amaon Redshift lineage sync configuration.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 Details
-
enabled
Specifies whether the Amaon Redshift lineage sync configuration is enabled.
- Parameters:
enabled
- Specifies whether the Amaon Redshift lineage sync configuration is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of the Amaon Redshift lineage sync configuration.
- Parameters:
schedule
- The schedule of the Amaon Redshift lineage sync configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default RedshiftLineageSyncConfigurationInput.Builder schedule(Consumer<LineageSyncSchedule.Builder> schedule) The schedule of the Amaon Redshift lineage sync configuration.
This is a convenience method that creates an instance of theLineageSyncSchedule.Builder
avoiding the need to create one manually viaLineageSyncSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(LineageSyncSchedule)
.- Parameters:
schedule
- a consumer that will call methods onLineageSyncSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-