Interface SnapshotSchedule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotSchedule.Builder,,SnapshotSchedule> SdkBuilder<SnapshotSchedule.Builder,,SnapshotSchedule> SdkPojo
- Enclosing class:
SnapshotSchedule
-
Method Summary
Modifier and TypeMethodDescriptionassociatedClusterCount(Integer associatedClusterCount) The number of clusters associated with the schedule.associatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters) A list of clusters associated with the schedule.associatedClusters(Consumer<ClusterAssociatedToSchedule.Builder>... associatedClusters) A list of clusters associated with the schedule.associatedClusters(ClusterAssociatedToSchedule... associatedClusters) A list of clusters associated with the schedule.nextInvocations(Instant... nextInvocations) nextInvocations(Collection<Instant> nextInvocations) scheduleDefinitions(String... scheduleDefinitions) A list of ScheduleDefinitions.scheduleDefinitions(Collection<String> scheduleDefinitions) A list of ScheduleDefinitions.scheduleDescription(String scheduleDescription) The description of the schedule.scheduleIdentifier(String scheduleIdentifier) A unique identifier for the schedule.tags(Collection<Tag> tags) An optional set of tags describing the schedule.tags(Consumer<Tag.Builder>... tags) An optional set of tags describing the schedule.An optional set of tags describing the schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 totags(List<Tag>).- 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:
-
nextInvocations
- Parameters:
nextInvocations-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocations
- Parameters:
nextInvocations-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 toassociatedClusters(List<ClusterAssociatedToSchedule>).- 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:
-