Class DescribeMaintenanceStartTimeResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
-
- software.amazon.awssdk.services.storagegateway.model.DescribeMaintenanceStartTimeResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeMaintenanceStartTimeResponse extends StorageGatewayResponse implements ToCopyableBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>
A JSON object containing the following fields:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeMaintenanceStartTimeResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeMaintenanceStartTimeResponse.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()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)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 (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 DescribeMaintenanceStartTimeResponse.Builder>serializableBuilderClass()SoftwareUpdatePreferencessoftwareUpdatePreferences()A set of variables indicating the software update preferences for the gateway.Stringtimezone()A value that indicates the time zone that is set for the gateway.DescribeMaintenanceStartTimeResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 (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.
-
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.
-
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.
-
timezone
public final 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.
- Returns:
- 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.
-
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 DescribeMaintenanceStartTimeResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMaintenanceStartTimeResponse.Builder,DescribeMaintenanceStartTimeResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeMaintenanceStartTimeResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMaintenanceStartTimeResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-