Interface ScheduleSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduleSummary.Builder,
,ScheduleSummary> SdkBuilder<ScheduleSummary.Builder,
,ScheduleSummary> SdkPojo
- Enclosing class:
ScheduleSummary
@Mutable
@NotThreadSafe
public static interface ScheduleSummary.Builder
extends SdkPojo, CopyableBuilder<ScheduleSummary.Builder,ScheduleSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the schedule.creationDate
(Instant creationDate) The time at which the schedule was created.The name of the schedule group associated with this schedule.lastModificationDate
(Instant lastModificationDate) The time at which the schedule was last modified.The name of the schedule.Specifies whether the schedule is enabled or disabled.state
(ScheduleState state) Specifies whether the schedule is enabled or disabled.default ScheduleSummary.Builder
target
(Consumer<TargetSummary.Builder> target) The schedule's target details.target
(TargetSummary target) The schedule's target details.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
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the schedule.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The time at which the schedule was created.
- Parameters:
creationDate
- The time at which the schedule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the schedule group associated with this schedule.
- Parameters:
groupName
- The name of the schedule group associated with this schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationDate
The time at which the schedule was last modified.
- Parameters:
lastModificationDate
- The time at which the schedule was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the schedule.
- Parameters:
name
- The name of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Specifies whether the schedule is enabled or disabled.
- Parameters:
state
- Specifies whether the schedule is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Specifies whether the schedule is enabled or disabled.
- Parameters:
state
- Specifies whether the schedule is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The schedule's target details.
- Parameters:
target
- The schedule's target details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The schedule's target details.
This is a convenience method that creates an instance of theTargetSummary.Builder
avoiding the need to create one manually viaTargetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(TargetSummary)
.- Parameters:
target
- a consumer that will call methods onTargetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-