Interface UpdateMaintenanceStartTimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,
,UpdateMaintenanceStartTimeRequest> SdkBuilder<UpdateMaintenanceStartTimeRequest.Builder,
,UpdateMaintenanceStartTimeRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
UpdateMaintenanceStartTimeRequest
-
Method Summary
Modifier and TypeMethodDescriptiondayOfMonth
(Integer dayOfMonth) The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month.The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.gatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).minuteOfHour
(Integer minuteOfHour) The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.softwareUpdatePreferences
(Consumer<SoftwareUpdatePreferences.Builder> softwareUpdatePreferences) A set of variables indicating the software update preferences for the gateway.softwareUpdatePreferences
(SoftwareUpdatePreferences softwareUpdatePreferences) A set of variables indicating the software update preferences for the gateway.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hourOfDay
The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- Parameters:
hourOfDay
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minuteOfHour
The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- Parameters:
minuteOfHour
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dayOfWeek
The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.
- Parameters:
dayOfWeek
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dayOfMonth
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.
- Parameters:
dayOfMonth
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareUpdatePreferences
UpdateMaintenanceStartTimeRequest.Builder softwareUpdatePreferences(SoftwareUpdatePreferences softwareUpdatePreferences) A set of variables indicating the software update preferences for the gateway.
Includes
AutomaticUpdatePolicy
field with the following inputs:ALL_VERSIONS
- Enables regular gateway maintenance updates.EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.- Parameters:
softwareUpdatePreferences
- A set of variables indicating the software update preferences for the gateway.Includes
AutomaticUpdatePolicy
field with the following inputs:ALL_VERSIONS
- Enables regular gateway maintenance updates.EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareUpdatePreferences
default UpdateMaintenanceStartTimeRequest.Builder softwareUpdatePreferences(Consumer<SoftwareUpdatePreferences.Builder> softwareUpdatePreferences) A set of variables indicating the software update preferences for the gateway.
Includes
AutomaticUpdatePolicy
field with the following inputs:ALL_VERSIONS
- Enables regular gateway maintenance updates.EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.SoftwareUpdatePreferences.Builder
avoiding the need to create one manually viaSoftwareUpdatePreferences.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosoftwareUpdatePreferences(SoftwareUpdatePreferences)
.- Parameters:
softwareUpdatePreferences
- a consumer that will call methods onSoftwareUpdatePreferences.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMaintenanceStartTimeRequest.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
UpdateMaintenanceStartTimeRequest.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.
-