Interface MaintenanceSchedule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MaintenanceSchedule.Builder,,MaintenanceSchedule> SdkBuilder<MaintenanceSchedule.Builder,,MaintenanceSchedule> SdkPojo
- Enclosing class:
MaintenanceSchedule
@Mutable
@NotThreadSafe
public static interface MaintenanceSchedule.Builder
extends SdkPojo, CopyableBuilder<MaintenanceSchedule.Builder,MaintenanceSchedule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MaintenanceSchedule.BuilderSets the value of the Window property for this object.window(WindowMaintenanceSchedule window) Sets the value of the Window property for this object.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
-
window
Sets the value of the Window property for this object.- Parameters:
window- The new value for the Window property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
window
Sets the value of the Window property for this object. This is a convenience method that creates an instance of theWindowMaintenanceSchedule.Builderavoiding the need to create one manually viaWindowMaintenanceSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towindow(WindowMaintenanceSchedule).- Parameters:
window- a consumer that will call methods onWindowMaintenanceSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-