Interface CreateAlertManagerDefinitionResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateAlertManagerDefinitionResponse.Builder,,CreateAlertManagerDefinitionResponse> SdkBuilder<CreateAlertManagerDefinitionResponse.Builder,,CreateAlertManagerDefinitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAlertManagerDefinitionResponse
public static interface CreateAlertManagerDefinitionResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateAlertManagerDefinitionResponse.Builder,CreateAlertManagerDefinitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure that displays the current status of the alert manager definition.status(AlertManagerDefinitionStatus status) A structure that displays the current status of the alert manager definition.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
A structure that displays the current status of the alert manager definition.
- Parameters:
status- A structure that displays 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 CreateAlertManagerDefinitionResponse.Builder status(Consumer<AlertManagerDefinitionStatus.Builder> status) A structure that displays the current status of the alert manager definition.
This is a convenience method that creates an instance of theAlertManagerDefinitionStatus.Builderavoiding the need to create one manually viaAlertManagerDefinitionStatus.builder().When the
Consumercompletes,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:
-