Interface AssociationExecution.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssociationExecution.Builder,AssociationExecution>, SdkBuilder<AssociationExecution.Builder,AssociationExecution>, SdkPojo
Enclosing class:
AssociationExecution

public static interface AssociationExecution.Builder extends SdkPojo, CopyableBuilder<AssociationExecution.Builder,AssociationExecution>
  • Method Details

    • associationId

      AssociationExecution.Builder associationId(String associationId)

      The association ID.

      Parameters:
      associationId - The association ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationVersion

      AssociationExecution.Builder associationVersion(String associationVersion)

      The association version.

      Parameters:
      associationVersion - The association version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionId

      AssociationExecution.Builder executionId(String executionId)

      The execution ID for the association.

      Parameters:
      executionId - The execution ID for the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the association execution.

      Parameters:
      status - The status of the association execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detailedStatus

      AssociationExecution.Builder detailedStatus(String detailedStatus)

      Detailed status information about the execution.

      Parameters:
      detailedStatus - Detailed status information about the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      AssociationExecution.Builder createdTime(Instant createdTime)

      The time the execution started.

      Parameters:
      createdTime - The time the execution started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastExecutionDate

      AssociationExecution.Builder lastExecutionDate(Instant lastExecutionDate)

      The date of the last execution.

      Parameters:
      lastExecutionDate - The date of the last execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceCountByStatus

      AssociationExecution.Builder resourceCountByStatus(String resourceCountByStatus)

      An aggregate status of the resources in the execution based on the status type.

      Parameters:
      resourceCountByStatus - An aggregate status of the resources in the execution based on the status type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarmConfiguration

      AssociationExecution.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration)
      Sets the value of the AlarmConfiguration property for this object.
      Parameters:
      alarmConfiguration - The new value for the AlarmConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarmConfiguration

      default AssociationExecution.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)
      Sets the value of the AlarmConfiguration property for this object. This is a convenience method that creates an instance of the AlarmConfiguration.Builder avoiding the need to create one manually via AlarmConfiguration.builder().

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

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

      The CloudWatch alarms that were invoked by the association.

      Parameters:
      triggeredAlarms - The CloudWatch alarms that were invoked by the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggeredAlarms

      AssociationExecution.Builder triggeredAlarms(AlarmStateInformation... triggeredAlarms)

      The CloudWatch alarms that were invoked by the association.

      Parameters:
      triggeredAlarms - The CloudWatch alarms that were invoked by the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggeredAlarms

      The CloudWatch alarms that were invoked by the association.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to triggeredAlarms(List<AlarmStateInformation>).

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