Interface SnapshotSchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>,SdkBuilder<SnapshotSchedule.Builder,SnapshotSchedule>,SdkPojo
- Enclosing class:
- SnapshotSchedule
public static interface SnapshotSchedule.Builder extends SdkPojo, CopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotSchedule.BuilderassociatedClusterCount(Integer associatedClusterCount)The number of clusters associated with the schedule.SnapshotSchedule.BuilderassociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)A list of clusters associated with the schedule.SnapshotSchedule.BuilderassociatedClusters(Consumer<ClusterAssociatedToSchedule.Builder>... associatedClusters)A list of clusters associated with the schedule.SnapshotSchedule.BuilderassociatedClusters(ClusterAssociatedToSchedule... associatedClusters)A list of clusters associated with the schedule.SnapshotSchedule.BuildernextInvocations(Instant... nextInvocations)SnapshotSchedule.BuildernextInvocations(Collection<Instant> nextInvocations)SnapshotSchedule.BuilderscheduleDefinitions(String... scheduleDefinitions)A list of ScheduleDefinitions.SnapshotSchedule.BuilderscheduleDefinitions(Collection<String> scheduleDefinitions)A list of ScheduleDefinitions.SnapshotSchedule.BuilderscheduleDescription(String scheduleDescription)The description of the schedule.SnapshotSchedule.BuilderscheduleIdentifier(String scheduleIdentifier)A unique identifier for the schedule.SnapshotSchedule.Buildertags(Collection<Tag> tags)An optional set of tags describing the schedule.SnapshotSchedule.Buildertags(Consumer<Tag.Builder>... tags)An optional set of tags describing the schedule.SnapshotSchedule.Buildertags(Tag... tags)An optional set of tags describing the schedule.-
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, sdkFields
-
-
-
-
Method Detail
-
scheduleDefinitions
SnapshotSchedule.Builder scheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions.
- Parameters:
scheduleDefinitions- A list of ScheduleDefinitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleDefinitions
SnapshotSchedule.Builder scheduleDefinitions(String... scheduleDefinitions)
A list of ScheduleDefinitions.
- Parameters:
scheduleDefinitions- A list of ScheduleDefinitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleIdentifier
SnapshotSchedule.Builder scheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
- Parameters:
scheduleIdentifier- A unique identifier for the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleDescription
SnapshotSchedule.Builder scheduleDescription(String scheduleDescription)
The description of the schedule.
- Parameters:
scheduleDescription- The description of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SnapshotSchedule.Builder tags(Collection<Tag> tags)
An optional set of tags describing the schedule.
- Parameters:
tags- An optional set of tags describing the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SnapshotSchedule.Builder tags(Tag... tags)
An optional set of tags describing the schedule.
- Parameters:
tags- An optional set of tags describing the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
SnapshotSchedule.Builder tags(Consumer<Tag.Builder>... tags)
An optional set of tags describing the schedule.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
nextInvocations
SnapshotSchedule.Builder nextInvocations(Collection<Instant> nextInvocations)
- Parameters:
nextInvocations-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocations
SnapshotSchedule.Builder nextInvocations(Instant... nextInvocations)
- Parameters:
nextInvocations-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedClusterCount
SnapshotSchedule.Builder associatedClusterCount(Integer associatedClusterCount)
The number of clusters associated with the schedule.
- Parameters:
associatedClusterCount- The number of clusters associated with the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedClusters
SnapshotSchedule.Builder associatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
- Parameters:
associatedClusters- A list of clusters associated with the schedule. A maximum of 100 clusters is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedClusters
SnapshotSchedule.Builder associatedClusters(ClusterAssociatedToSchedule... associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
- Parameters:
associatedClusters- A list of clusters associated with the schedule. A maximum of 100 clusters is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedClusters
SnapshotSchedule.Builder associatedClusters(Consumer<ClusterAssociatedToSchedule.Builder>... associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
This is a convenience method that creates an instance of theClusterAssociatedToSchedule.Builderavoiding the need to create one manually viaClusterAssociatedToSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associatedClusters(List.) - Parameters:
associatedClusters- a consumer that will call methods onClusterAssociatedToSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#associatedClusters(java.util.Collection)
-
-