Interface PendingMaintenance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PendingMaintenance.Builder,,PendingMaintenance> SdkBuilder<PendingMaintenance.Builder,,PendingMaintenance> SdkPojo
- Enclosing class:
PendingMaintenance
@Mutable
@NotThreadSafe
public static interface PendingMaintenance.Builder
extends SdkPojo, CopyableBuilder<PendingMaintenance.Builder,PendingMaintenance>
-
Method Summary
Modifier and TypeMethodDescriptionengineVersion(String engineVersion) The specific runtime engine that the maintenance schedule applies to.default PendingMaintenance.Builderschedule(Consumer<MaintenanceSchedule.Builder> schedule) The maintenance schedule for the runtime engine version.schedule(MaintenanceSchedule schedule) The maintenance schedule for the runtime engine version.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, sdkFieldNameToField, sdkFields
-
Method Details
-
engineVersion
The specific runtime engine that the maintenance schedule applies to.
- Parameters:
engineVersion- The specific runtime engine that the maintenance schedule applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The maintenance schedule for the runtime engine version.
- Parameters:
schedule- The maintenance schedule for the runtime engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The maintenance schedule for the runtime engine version.
This is a convenience method that creates an instance of theMaintenanceSchedule.Builderavoiding the need to create one manually viaMaintenanceSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(MaintenanceSchedule).- Parameters:
schedule- a consumer that will call methods onMaintenanceSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-