Interface GetMaintenanceWindowResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>,SdkBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- GetMaintenanceWindowResponse
@Mutable @NotThreadSafe public static interface GetMaintenanceWindowResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetMaintenanceWindowResponse.Builder,GetMaintenanceWindowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMaintenanceWindowResponse.BuilderallowUnassociatedTargets(Boolean allowUnassociatedTargets)Whether targets must be registered with the maintenance window before tasks can be defined for those targets.GetMaintenanceWindowResponse.BuildercreatedDate(Instant createdDate)The date the maintenance window was created.GetMaintenanceWindowResponse.Buildercutoff(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.GetMaintenanceWindowResponse.Builderdescription(String description)The description of the maintenance window.GetMaintenanceWindowResponse.Builderduration(Integer duration)The duration of the maintenance window in hours.GetMaintenanceWindowResponse.Builderenabled(Boolean enabled)Indicates whether the maintenance window is enabled.GetMaintenanceWindowResponse.BuilderendDate(String endDate)The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.GetMaintenanceWindowResponse.BuildermodifiedDate(Instant modifiedDate)The date the maintenance window was last modified.GetMaintenanceWindowResponse.Buildername(String name)The name of the maintenance window.GetMaintenanceWindowResponse.BuildernextExecutionTime(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.GetMaintenanceWindowResponse.Builderschedule(String schedule)The schedule of the maintenance window in the form of a cron or rate expression.GetMaintenanceWindowResponse.BuilderscheduleOffset(Integer scheduleOffset)The number of days to wait to run a maintenance window after the scheduled cron expression date and time.GetMaintenanceWindowResponse.BuilderscheduleTimezone(String scheduleTimezone)The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.GetMaintenanceWindowResponse.BuilderstartDate(String startDate)The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.GetMaintenanceWindowResponse.BuilderwindowId(String windowId)The ID of the created maintenance window.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
windowId
GetMaintenanceWindowResponse.Builder windowId(String windowId)
The ID of the created maintenance window.
- Parameters:
windowId- The ID of the created maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetMaintenanceWindowResponse.Builder name(String name)
The name of the maintenance window.
- Parameters:
name- The name of the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetMaintenanceWindowResponse.Builder description(String description)
The description of the maintenance window.
- Parameters:
description- The description of the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
GetMaintenanceWindowResponse.Builder startDate(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
GetMaintenanceWindowResponse.Builder endDate(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
GetMaintenanceWindowResponse.Builder schedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
- Parameters:
schedule- The schedule of the maintenance window in the form of a cron or rate expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleTimezone
GetMaintenanceWindowResponse.Builder scheduleTimezone(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleOffset
GetMaintenanceWindowResponse.Builder scheduleOffset(Integer scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
- Parameters:
scheduleOffset- The number of days to wait to run a maintenance window after the scheduled cron expression date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextExecutionTime
GetMaintenanceWindowResponse.Builder nextExecutionTime(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
duration
GetMaintenanceWindowResponse.Builder duration(Integer duration)
The duration of the maintenance window in hours.
- Parameters:
duration- The duration of the maintenance window in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cutoff
GetMaintenanceWindowResponse.Builder cutoff(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
allowUnassociatedTargets
GetMaintenanceWindowResponse.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Whether targets must be registered with the maintenance window before tasks can be defined for those targets.
- Parameters:
allowUnassociatedTargets- Whether targets must be registered with the maintenance window before tasks can be defined for those targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
GetMaintenanceWindowResponse.Builder enabled(Boolean enabled)
Indicates whether the maintenance window is enabled.
- Parameters:
enabled- Indicates whether the maintenance window is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
GetMaintenanceWindowResponse.Builder createdDate(Instant createdDate)
The date the maintenance window was created.
- Parameters:
createdDate- The date the maintenance window was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedDate
GetMaintenanceWindowResponse.Builder modifiedDate(Instant modifiedDate)
The date the maintenance window was last modified.
- Parameters:
modifiedDate- The date the maintenance window was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-