Interface UpdateMaintenanceStartTimeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>,SdkBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- UpdateMaintenanceStartTimeRequest
public static interface UpdateMaintenanceStartTimeRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateMaintenanceStartTimeRequest.BuilderdayOfMonth(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.UpdateMaintenanceStartTimeRequest.BuilderdayOfWeek(Integer 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.UpdateMaintenanceStartTimeRequest.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.UpdateMaintenanceStartTimeRequest.BuilderhourOfDay(Integer hourOfDay)The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).UpdateMaintenanceStartTimeRequest.BuilderminuteOfHour(Integer minuteOfHour)The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).UpdateMaintenanceStartTimeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateMaintenanceStartTimeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateMaintenanceStartTimeRequest.BuildersoftwareUpdatePreferences(Consumer<SoftwareUpdatePreferences.Builder> softwareUpdatePreferences)A set of variables indicating the software update preferences for the gateway.UpdateMaintenanceStartTimeRequest.BuildersoftwareUpdatePreferences(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 Detail
-
gatewayARN
UpdateMaintenanceStartTimeRequest.Builder gatewayARN(String 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
UpdateMaintenanceStartTimeRequest.Builder hourOfDay(Integer 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
UpdateMaintenanceStartTimeRequest.Builder minuteOfHour(Integer 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
UpdateMaintenanceStartTimeRequest.Builder dayOfWeek(Integer 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
UpdateMaintenanceStartTimeRequest.Builder dayOfMonth(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. 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
AutomaticUpdatePolicyfield with the following inputs:ALL_VERSIONS- Enables regular gateway maintenance updates.EMERGENCY_VERSIONS_ONLY- Disables regular gateway maintenance updates.- Parameters:
softwareUpdatePreferences- A set of variables indicating the software update preferences for the gateway.Includes
AutomaticUpdatePolicyfield with the following inputs:ALL_VERSIONS- Enables regular gateway maintenance updates.EMERGENCY_VERSIONS_ONLY- Disables regular gateway maintenance updates.- 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
AutomaticUpdatePolicyfield with the following inputs:ALL_VERSIONS- Enables regular gateway maintenance updates.
This is a convenience method that creates an instance of theEMERGENCY_VERSIONS_ONLY- Disables regular gateway maintenance updates.SoftwareUpdatePreferences.Builderavoiding the need to create one manually viaSoftwareUpdatePreferences.builder().When the
Consumercompletes,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:
softwareUpdatePreferences(SoftwareUpdatePreferences)
-
overrideConfiguration
UpdateMaintenanceStartTimeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMaintenanceStartTimeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-