Class UpdateMaintenanceStartTimeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.UpdateMaintenanceStartTimeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateMaintenanceStartTimeRequest extends StorageGatewayRequest implements ToCopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateMaintenanceStartTimeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMaintenanceStartTimeRequest.Builderbuilder()IntegerdayOfMonth()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.IntegerdayOfWeek()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayARN()Returns the value of the GatewayARN property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerhourOfDay()The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23).IntegerminuteOfHour()The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59).List<SdkField<?>>sdkFields()static Class<? extends UpdateMaintenanceStartTimeRequest.Builder>serializableBuilderClass()SoftwareUpdatePreferencessoftwareUpdatePreferences()A set of variables indicating the software update preferences for the gateway.UpdateMaintenanceStartTimeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gatewayARN
public final String gatewayARN()
Returns the value of the GatewayARN property for this object.- Returns:
- The value of the GatewayARN property for this object.
-
hourOfDay
public final 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.
- Returns:
- 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.
-
minuteOfHour
public final 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.
- Returns:
- 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.
-
dayOfWeek
public final 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.
- Returns:
- 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.
-
dayOfMonth
public final 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.
- Returns:
- 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.
-
softwareUpdatePreferences
public final 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.- Returns:
- 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.
-
toBuilder
public UpdateMaintenanceStartTimeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateMaintenanceStartTimeRequest.Builder,UpdateMaintenanceStartTimeRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static UpdateMaintenanceStartTimeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMaintenanceStartTimeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-