Interface AlertStateInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AlertStateInfo.Builder,,AlertStateInfo> SdkBuilder<AlertStateInfo.Builder,,AlertStateInfo> SdkPojo
- Enclosing class:
AlertStateInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault AlertStateInfo.BuildercontributorSummary(Consumer<ContributorSummary.Builder> contributorSummary) Counts of contributors currently breaching each severity threshold.contributorSummary(ContributorSummary contributorSummary) Counts of contributors currently breaching each severity threshold.default AlertStateInfo.Builderdata(Consumer<AlertStateData.Builder> data) Structured detail about why the alert is in its current state.data(AlertStateData data) Structured detail about why the alert is in its current state.transitionedAt(Instant transitionedAt) When the alert transitioned to its current state.Current flat state.value(AlertState value) Current flat state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
Current flat state.
- Parameters:
value- Current flat state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
Current flat state.
- Parameters:
value- Current flat state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transitionedAt
When the alert transitioned to its current state.
- Parameters:
transitionedAt- When the alert transitioned to its current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributorSummary
Counts of contributors currently breaching each severity threshold. Present only when contributor-level tracking is active; absent until the first contributor breaches a
WARNINGorCRITICALthreshold.- Parameters:
contributorSummary- Counts of contributors currently breaching each severity threshold. Present only when contributor-level tracking is active; absent until the first contributor breaches aWARNINGorCRITICALthreshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributorSummary
default AlertStateInfo.Builder contributorSummary(Consumer<ContributorSummary.Builder> contributorSummary) Counts of contributors currently breaching each severity threshold. Present only when contributor-level tracking is active; absent until the first contributor breaches a
This is a convenience method that creates an instance of theWARNINGorCRITICALthreshold.ContributorSummary.Builderavoiding the need to create one manually viaContributorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontributorSummary(ContributorSummary).- Parameters:
contributorSummary- a consumer that will call methods onContributorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
data
Structured detail about why the alert is in its current state.
- Parameters:
data- Structured detail about why the alert is in its current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Structured detail about why the alert is in its current state.
This is a convenience method that creates an instance of theAlertStateData.Builderavoiding the need to create one manually viaAlertStateData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(AlertStateData).- Parameters:
data- a consumer that will call methods onAlertStateData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-