Interface ClusterAutoPatchConfigDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterAutoPatchConfigDetails.Builder,,ClusterAutoPatchConfigDetails> SdkBuilder<ClusterAutoPatchConfigDetails.Builder,,ClusterAutoPatchConfigDetails> SdkPojo
- Enclosing class:
ClusterAutoPatchConfigDetails
-
Method Summary
Modifier and TypeMethodDescriptioncurrentPatchSchedule(Consumer<ClusterPatchScheduleDetails.Builder> currentPatchSchedule) The currently active patch schedule that the system will execute.currentPatchSchedule(ClusterPatchScheduleDetails currentPatchSchedule) The currently active patch schedule that the system will execute.deploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig) The deployment configuration for rolling patch updates.deploymentConfig(DeploymentConfiguration deploymentConfig) The deployment configuration for rolling patch updates.desiredPatchSchedule(Consumer<ClusterPatchScheduleDetails.Builder> desiredPatchSchedule) The requested patch schedule.desiredPatchSchedule(ClusterPatchScheduleDetails desiredPatchSchedule) The requested patch schedule.patchingStrategy(String patchingStrategy) The strategy used for applying patches to instances in the group.patchingStrategy(ClusterPatchingStrategy patchingStrategy) The strategy used for applying patches to instances in the group.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
-
patchingStrategy
The strategy used for applying patches to instances in the group.
- Parameters:
patchingStrategy- The strategy used for applying patches to instances in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
patchingStrategy
The strategy used for applying patches to instances in the group.
- Parameters:
patchingStrategy- The strategy used for applying patches to instances in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentPatchSchedule
ClusterAutoPatchConfigDetails.Builder currentPatchSchedule(ClusterPatchScheduleDetails currentPatchSchedule) The currently active patch schedule that the system will execute.
- Parameters:
currentPatchSchedule- The currently active patch schedule that the system will execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPatchSchedule
default ClusterAutoPatchConfigDetails.Builder currentPatchSchedule(Consumer<ClusterPatchScheduleDetails.Builder> currentPatchSchedule) The currently active patch schedule that the system will execute.
This is a convenience method that creates an instance of theClusterPatchScheduleDetails.Builderavoiding the need to create one manually viaClusterPatchScheduleDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentPatchSchedule(ClusterPatchScheduleDetails).- Parameters:
currentPatchSchedule- a consumer that will call methods onClusterPatchScheduleDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredPatchSchedule
ClusterAutoPatchConfigDetails.Builder desiredPatchSchedule(ClusterPatchScheduleDetails desiredPatchSchedule) The requested patch schedule. Differs from CurrentPatchSchedule when a reschedule request is pending.
- Parameters:
desiredPatchSchedule- The requested patch schedule. Differs from CurrentPatchSchedule when a reschedule request is pending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredPatchSchedule
default ClusterAutoPatchConfigDetails.Builder desiredPatchSchedule(Consumer<ClusterPatchScheduleDetails.Builder> desiredPatchSchedule) The requested patch schedule. Differs from CurrentPatchSchedule when a reschedule request is pending.
This is a convenience method that creates an instance of theClusterPatchScheduleDetails.Builderavoiding the need to create one manually viaClusterPatchScheduleDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todesiredPatchSchedule(ClusterPatchScheduleDetails).- Parameters:
desiredPatchSchedule- a consumer that will call methods onClusterPatchScheduleDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfig
The deployment configuration for rolling patch updates.
- Parameters:
deploymentConfig- The deployment configuration for rolling patch updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default ClusterAutoPatchConfigDetails.Builder deploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig) The deployment configuration for rolling patch updates.
This is a convenience method that creates an instance of theDeploymentConfiguration.Builderavoiding the need to create one manually viaDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfig(DeploymentConfiguration).- Parameters:
deploymentConfig- a consumer that will call methods onDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-