Interface DescribeMaintenanceStartTimeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>,SdkBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- DescribeMaintenanceStartTimeResponse
public static interface DescribeMaintenanceStartTimeResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeMaintenanceStartTimeResponse.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.DescribeMaintenanceStartTimeResponse.BuilderdayOfWeek(Integer dayOfWeek)An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday.DescribeMaintenanceStartTimeResponse.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.DescribeMaintenanceStartTimeResponse.BuilderhourOfDay(Integer hourOfDay)The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23).DescribeMaintenanceStartTimeResponse.BuilderminuteOfHour(Integer minuteOfHour)The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59).default DescribeMaintenanceStartTimeResponse.BuildersoftwareUpdatePreferences(Consumer<SoftwareUpdatePreferences.Builder> softwareUpdatePreferences)A set of variables indicating the software update preferences for the gateway.DescribeMaintenanceStartTimeResponse.BuildersoftwareUpdatePreferences(SoftwareUpdatePreferences softwareUpdatePreferences)A set of variables indicating the software update preferences for the gateway.DescribeMaintenanceStartTimeResponse.Buildertimezone(String timezone)A value that indicates the time zone that is set for the gateway.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
gatewayARN
DescribeMaintenanceStartTimeResponse.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
DescribeMaintenanceStartTimeResponse.Builder hourOfDay(Integer hourOfDay)
The hour component of the maintenance start time represented as hh, where hh is the hour (0 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 (0 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
DescribeMaintenanceStartTimeResponse.Builder minuteOfHour(Integer minuteOfHour)
The minute component of the maintenance start time represented as mm, where mm is the minute (0 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 (0 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
DescribeMaintenanceStartTimeResponse.Builder dayOfWeek(Integer dayOfWeek)
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
- Parameters:
dayOfWeek- An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dayOfMonth
DescribeMaintenanceStartTimeResponse.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.
-
timezone
DescribeMaintenanceStartTimeResponse.Builder timezone(String timezone)
A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.
- Parameters:
timezone- A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareUpdatePreferences
DescribeMaintenanceStartTimeResponse.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 DescribeMaintenanceStartTimeResponse.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)
-
-