Interface RefreshSchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>,SdkBuilder<RefreshSchedule.Builder,RefreshSchedule>,SdkPojo
- Enclosing class:
- RefreshSchedule
@Mutable @NotThreadSafe public static interface RefreshSchedule.Builder extends SdkPojo, CopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RefreshSchedule.Builderarn(String arn)The Amazon Resource Name (ARN) for the refresh schedule.RefreshSchedule.BuilderrefreshType(String refreshType)The type of refresh that a datset undergoes.RefreshSchedule.BuilderrefreshType(IngestionType refreshType)The type of refresh that a datset undergoes.default RefreshSchedule.BuilderscheduleFrequency(Consumer<RefreshFrequency.Builder> scheduleFrequency)The frequency for the refresh schedule.RefreshSchedule.BuilderscheduleFrequency(RefreshFrequency scheduleFrequency)The frequency for the refresh schedule.RefreshSchedule.BuilderscheduleId(String scheduleId)An identifier for the refresh schedule.RefreshSchedule.BuilderstartAfterDateTime(Instant startAfterDateTime)Time after which the refresh schedule can be started, expressed inYYYY-MM-DDTHH:MM:SSformat.-
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
-
scheduleId
RefreshSchedule.Builder scheduleId(String scheduleId)
An identifier for the refresh schedule.
- Parameters:
scheduleId- An identifier for the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleFrequency
RefreshSchedule.Builder scheduleFrequency(RefreshFrequency scheduleFrequency)
The frequency for the refresh schedule.
- Parameters:
scheduleFrequency- The frequency for the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleFrequency
default RefreshSchedule.Builder scheduleFrequency(Consumer<RefreshFrequency.Builder> scheduleFrequency)
The frequency for the refresh schedule.
This is a convenience method that creates an instance of theRefreshFrequency.Builderavoiding the need to create one manually viaRefreshFrequency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleFrequency(RefreshFrequency).- Parameters:
scheduleFrequency- a consumer that will call methods onRefreshFrequency.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scheduleFrequency(RefreshFrequency)
-
startAfterDateTime
RefreshSchedule.Builder startAfterDateTime(Instant startAfterDateTime)
Time after which the refresh schedule can be started, expressed in
YYYY-MM-DDTHH:MM:SSformat.- Parameters:
startAfterDateTime- Time after which the refresh schedule can be started, expressed inYYYY-MM-DDTHH:MM:SSformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshType
RefreshSchedule.Builder refreshType(String refreshType)
The type of refresh that a datset undergoes. Valid values are as follows:
-
FULL_REFRESH: A complete refresh of a dataset. -
INCREMENTAL_REFRESH: A partial refresh of some rows of a dataset, based on the time window specified.
For more information on full and incremental refreshes, see Refreshing SPICE data in the Amazon QuickSight User Guide.
- Parameters:
refreshType- The type of refresh that a datset undergoes. Valid values are as follows:-
FULL_REFRESH: A complete refresh of a dataset. -
INCREMENTAL_REFRESH: A partial refresh of some rows of a dataset, based on the time window specified.
For more information on full and incremental refreshes, see Refreshing SPICE data in the Amazon QuickSight User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IngestionType,IngestionType
-
-
refreshType
RefreshSchedule.Builder refreshType(IngestionType refreshType)
The type of refresh that a datset undergoes. Valid values are as follows:
-
FULL_REFRESH: A complete refresh of a dataset. -
INCREMENTAL_REFRESH: A partial refresh of some rows of a dataset, based on the time window specified.
For more information on full and incremental refreshes, see Refreshing SPICE data in the Amazon QuickSight User Guide.
- Parameters:
refreshType- The type of refresh that a datset undergoes. Valid values are as follows:-
FULL_REFRESH: A complete refresh of a dataset. -
INCREMENTAL_REFRESH: A partial refresh of some rows of a dataset, based on the time window specified.
For more information on full and incremental refreshes, see Refreshing SPICE data in the Amazon QuickSight User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IngestionType,IngestionType
-
-
arn
RefreshSchedule.Builder arn(String arn)
The Amazon Resource Name (ARN) for the refresh schedule.
- Parameters:
arn- The Amazon Resource Name (ARN) for the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-