Interface ClusterAutoPatchConfigDetails.Builder

  • Method Details

    • patchingStrategy

      ClusterAutoPatchConfigDetails.Builder patchingStrategy(String patchingStrategy)

      The strategy used for applying patches to instances in the group.

      • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

      • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      Parameters:
      patchingStrategy - The strategy used for applying patches to instances in the group.

      • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

      • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      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.

      • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

      • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      Parameters:
      patchingStrategy - The strategy used for applying patches to instances in the group.

      • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

      • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      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 the ClusterPatchScheduleDetails.Builder avoiding the need to create one manually via ClusterPatchScheduleDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to currentPatchSchedule(ClusterPatchScheduleDetails).

      Parameters:
      currentPatchSchedule - a consumer that will call methods on ClusterPatchScheduleDetails.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 the ClusterPatchScheduleDetails.Builder avoiding the need to create one manually via ClusterPatchScheduleDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to desiredPatchSchedule(ClusterPatchScheduleDetails).

      Parameters:
      desiredPatchSchedule - a consumer that will call methods on ClusterPatchScheduleDetails.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

      The deployment configuration for rolling patch updates.

      This is a convenience method that creates an instance of the DeploymentConfiguration.Builder avoiding the need to create one manually via DeploymentConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentConfig(DeploymentConfiguration).

      Parameters:
      deploymentConfig - a consumer that will call methods on DeploymentConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: