Class MaintenanceStartTime
- java.lang.Object
-
- software.amazon.awssdk.services.backupgateway.model.MaintenanceStartTime
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MaintenanceStartTime.Builder,MaintenanceStartTime>
@Generated("software.amazon.awssdk:codegen") public final class MaintenanceStartTime extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MaintenanceStartTime.Builder,MaintenanceStartTime>
This is your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMaintenanceStartTime.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceStartTime.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 and 28 represents the last day of the month.IntegerdayOfWeek()An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<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 (0 to 23).IntegerminuteOfHour()The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59).List<SdkField<?>>sdkFields()static Class<? extends MaintenanceStartTime.Builder>serializableBuilderClass()MaintenanceStartTime.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
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 and 28 represents the last day of the month.
- 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 and 28 represents the last day of the month.
-
dayOfWeek
public final 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.
- Returns:
- 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.
-
hourOfDay
public final 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.
- Returns:
- 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.
-
minuteOfHour
public final 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.
- Returns:
- 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.
-
toBuilder
public MaintenanceStartTime.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MaintenanceStartTime.Builder,MaintenanceStartTime>
-
builder
public static MaintenanceStartTime.Builder builder()
-
serializableBuilderClass
public static Class<? extends MaintenanceStartTime.Builder> serializableBuilderClass()
-
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.
-
-