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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociationExecution.BuilderalarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)Sets the value of the AlarmConfiguration property for this object.AssociationExecution.BuilderalarmConfiguration(AlarmConfiguration alarmConfiguration)Sets the value of the AlarmConfiguration property for this object.AssociationExecution.BuilderassociationId(String associationId)The association ID.AssociationExecution.BuilderassociationVersion(String associationVersion)The association version.AssociationExecution.BuildercreatedTime(Instant createdTime)The time the execution started.AssociationExecution.BuilderdetailedStatus(String detailedStatus)Detailed status information about the execution.AssociationExecution.BuilderexecutionId(String executionId)The execution ID for the association.AssociationExecution.BuilderlastExecutionDate(Instant lastExecutionDate)The date of the last execution.AssociationExecution.BuilderresourceCountByStatus(String resourceCountByStatus)An aggregate status of the resources in the execution based on the status type.AssociationExecution.Builderstatus(String status)The status of the association execution.AssociationExecution.BuildertriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)The CloudWatch alarms that were invoked by the association.AssociationExecution.BuildertriggeredAlarms(Consumer<AlarmStateInformation.Builder>... triggeredAlarms)The CloudWatch alarms that were invoked by the association.AssociationExecution.BuildertriggeredAlarms(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
AssociationExecution.Builder status(String 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 theAlarmConfiguration.Builderavoiding the need to create one manually viaAlarmConfiguration.builder().When the
Consumercompletes,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:
alarmConfiguration(AlarmConfiguration)
-
triggeredAlarms
AssociationExecution.Builder triggeredAlarms(Collection<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
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
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.Builderavoiding the need to create one manually viaAlarmStateInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#triggeredAlarms(List.) - 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:
#triggeredAlarms(java.util.Collection)
-
-