Interface PutAlertManagerDefinitionResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<PutAlertManagerDefinitionResponse.Builder,
,PutAlertManagerDefinitionResponse> SdkBuilder<PutAlertManagerDefinitionResponse.Builder,
,PutAlertManagerDefinitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutAlertManagerDefinitionResponse
public static interface PutAlertManagerDefinitionResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<PutAlertManagerDefinitionResponse.Builder,PutAlertManagerDefinitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure that returns the current status of the alert manager definition.status
(AlertManagerDefinitionStatus status) A structure that returns the current status of the alert manager definition.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
A structure that returns the current status of the alert manager definition.
- Parameters:
status
- A structure that returns the current status of the alert manager definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default PutAlertManagerDefinitionResponse.Builder status(Consumer<AlertManagerDefinitionStatus.Builder> status) A structure that returns the current status of the alert manager definition.
This is a convenience method that creates an instance of theAlertManagerDefinitionStatus.Builder
avoiding the need to create one manually viaAlertManagerDefinitionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(AlertManagerDefinitionStatus)
.- Parameters:
status
- a consumer that will call methods onAlertManagerDefinitionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-