Interface AlarmContributor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AlarmContributor.Builder,AlarmContributor>,SdkBuilder<AlarmContributor.Builder,AlarmContributor>,SdkPojo
- Enclosing class:
- AlarmContributor
@Mutable @NotThreadSafe public static interface AlarmContributor.Builder extends SdkPojo, CopyableBuilder<AlarmContributor.Builder,AlarmContributor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlarmContributor.BuildercontributorAttributes(Map<String,String> contributorAttributes)A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.AlarmContributor.BuildercontributorId(String contributorId)The unique identifier for this alarm contributor.AlarmContributor.BuilderstateReason(String stateReason)An explanation for the contributor's current state, providing context about why it is in its current condition.AlarmContributor.BuilderstateTransitionedTimestamp(Instant stateTransitionedTimestamp)The timestamp when the contributor last transitioned to its current state.-
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
-
contributorId
AlarmContributor.Builder contributorId(String contributorId)
The unique identifier for this alarm contributor.
- Parameters:
contributorId- The unique identifier for this alarm contributor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributorAttributes
AlarmContributor.Builder contributorAttributes(Map<String,String> contributorAttributes)
A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
- Parameters:
contributorAttributes- A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
AlarmContributor.Builder stateReason(String stateReason)
An explanation for the contributor's current state, providing context about why it is in its current condition.
- Parameters:
stateReason- An explanation for the contributor's current state, providing context about why it is in its current condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitionedTimestamp
AlarmContributor.Builder stateTransitionedTimestamp(Instant stateTransitionedTimestamp)
The timestamp when the contributor last transitioned to its current state.
- Parameters:
stateTransitionedTimestamp- The timestamp when the contributor last transitioned to its current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-