Class GetMaintenanceWindowResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssm.model.SsmResponse
-
- software.amazon.awssdk.services.ssm.model.GetMaintenanceWindowResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMaintenanceWindowResponse extends SsmResponse implements ToCopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMaintenanceWindowResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowUnassociatedTargets()Whether targets must be registered with the maintenance window before tasks can be defined for those targets.static GetMaintenanceWindowResponse.Builderbuilder()InstantcreatedDate()The date the maintenance window was created.Integercutoff()The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.Stringdescription()The description of the maintenance window.Integerduration()The duration of the maintenance window in hours.Booleanenabled()Indicates whether the maintenance window is enabled.StringendDate()The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantmodifiedDate()The date the maintenance window was last modified.Stringname()The name of the maintenance window.StringnextExecutionTime()The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.Stringschedule()The schedule of the maintenance window in the form of a cron or rate expression.IntegerscheduleOffset()The number of days to wait to run a maintenance window after the scheduled cron expression date and time.StringscheduleTimezone()The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetMaintenanceWindowResponse.Builder>serializableBuilderClass()StringstartDate()The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.GetMaintenanceWindowResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwindowId()The ID of the created maintenance window.-
Methods inherited from class software.amazon.awssdk.services.ssm.model.SsmResponse
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
-
windowId
public final String windowId()
The ID of the created maintenance window.
- Returns:
- The ID of the created maintenance window.
-
name
public final String name()
The name of the maintenance window.
- Returns:
- The name of the maintenance window.
-
description
public final String description()
The description of the maintenance window.
- Returns:
- The description of the maintenance window.
-
startDate
public final String startDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
- Returns:
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.
-
endDate
public final String endDate()
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
- Returns:
- The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.
-
schedule
public final String schedule()
The schedule of the maintenance window in the form of a cron or rate expression.
- Returns:
- The schedule of the maintenance window in the form of a cron or rate expression.
-
scheduleTimezone
public final String scheduleTimezone()
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
- Returns:
- The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
-
scheduleOffset
public final Integer scheduleOffset()
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
- Returns:
- The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
-
nextExecutionTime
public final String nextExecutionTime()
The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.
- Returns:
- The next time the maintenance window will actually run, taking into account any specified times for the maintenance window to become active or inactive.
-
duration
public final Integer duration()
The duration of the maintenance window in hours.
- Returns:
- The duration of the maintenance window in hours.
-
cutoff
public final Integer cutoff()
The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
- Returns:
- The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.
-
allowUnassociatedTargets
public final Boolean allowUnassociatedTargets()
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
- Returns:
- Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
-
enabled
public final Boolean enabled()
Indicates whether the maintenance window is enabled.
- Returns:
- Indicates whether the maintenance window is enabled.
-
createdDate
public final Instant createdDate()
The date the maintenance window was created.
- Returns:
- The date the maintenance window was created.
-
modifiedDate
public final Instant modifiedDate()
The date the maintenance window was last modified.
- Returns:
- The date the maintenance window was last modified.
-
toBuilder
public GetMaintenanceWindowResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMaintenanceWindowResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMaintenanceWindowResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-