Interface ModifyClusterMaintenanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyClusterMaintenanceRequest.Builder,
,ModifyClusterMaintenanceRequest> RedshiftRequest.Builder
,SdkBuilder<ModifyClusterMaintenanceRequest.Builder,
,ModifyClusterMaintenanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyClusterMaintenanceRequest
public static interface ModifyClusterMaintenanceRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ModifyClusterMaintenanceRequest.Builder,ModifyClusterMaintenanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier
(String clusterIdentifier) A unique identifier for the cluster.deferMaintenance
(Boolean deferMaintenance) A boolean indicating whether to enable the deferred maintenance window.deferMaintenanceDuration
(Integer deferMaintenanceDuration) An integer indicating the duration of the maintenance window in days.deferMaintenanceEndTime
(Instant deferMaintenanceEndTime) A timestamp indicating end time for the deferred maintenance window.deferMaintenanceIdentifier
(String deferMaintenanceIdentifier) A unique identifier for the deferred maintenance window.deferMaintenanceStartTime
(Instant deferMaintenanceStartTime) A timestamp indicating the start time for the deferred maintenance window.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterIdentifier
A unique identifier for the cluster.
- Parameters:
clusterIdentifier
- A unique identifier for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deferMaintenance
A boolean indicating whether to enable the deferred maintenance window.
- Parameters:
deferMaintenance
- A boolean indicating whether to enable the deferred maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deferMaintenanceIdentifier
ModifyClusterMaintenanceRequest.Builder deferMaintenanceIdentifier(String deferMaintenanceIdentifier) A unique identifier for the deferred maintenance window.
- Parameters:
deferMaintenanceIdentifier
- A unique identifier for the deferred maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deferMaintenanceStartTime
ModifyClusterMaintenanceRequest.Builder deferMaintenanceStartTime(Instant deferMaintenanceStartTime) A timestamp indicating the start time for the deferred maintenance window.
- Parameters:
deferMaintenanceStartTime
- A timestamp indicating the start time for the deferred maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deferMaintenanceEndTime
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- Parameters:
deferMaintenanceEndTime
- A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deferMaintenanceDuration
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
- Parameters:
deferMaintenanceDuration
- An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyClusterMaintenanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyClusterMaintenanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-