Interface AssociationExecution.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociationExecution.Builder,
,AssociationExecution> SdkBuilder<AssociationExecution.Builder,
,AssociationExecution> SdkPojo
- Enclosing class:
AssociationExecution
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociationExecution.Builder
alarmConfiguration
(Consumer<AlarmConfiguration.Builder> alarmConfiguration) Sets the value of the AlarmConfiguration property for this object.alarmConfiguration
(AlarmConfiguration alarmConfiguration) Sets the value of the AlarmConfiguration property for this object.associationId
(String associationId) The association ID.associationVersion
(String associationVersion) The association version.createdTime
(Instant createdTime) The time the execution started.detailedStatus
(String detailedStatus) Detailed status information about the execution.executionId
(String executionId) The execution ID for the association.lastExecutionDate
(Instant lastExecutionDate) The date of the last execution.resourceCountByStatus
(String resourceCountByStatus) An aggregate status of the resources in the execution based on the status type.The status of the association execution.triggeredAlarms
(Collection<AlarmStateInformation> triggeredAlarms) The CloudWatch alarms that were invoked by the association.triggeredAlarms
(Consumer<AlarmStateInformation.Builder>... triggeredAlarms) The CloudWatch alarms that were invoked by the association.triggeredAlarms
(AlarmStateInformation... triggeredAlarms) The CloudWatch alarms that were invoked by the association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The association version.
- Parameters:
associationVersion
- The association version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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
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 theAlarmConfiguration.Builder
avoiding the need to create one manually viaAlarmConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarmConfiguration(AlarmConfiguration)
.- Parameters:
alarmConfiguration
- a consumer that will call methods onAlarmConfiguration.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
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(Consumer<AlarmStateInformation.Builder>... triggeredAlarms) The CloudWatch alarms that were invoked by the association.
This is a convenience method that creates an instance of theAlarmStateInformation.Builder
avoiding the need to create one manually viaAlarmStateInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggeredAlarms(List<AlarmStateInformation>)
.- Parameters:
triggeredAlarms
- a consumer that will call methods onAlarmStateInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-