Interface CreateAlertManagerDefinitionRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAlertManagerDefinitionRequest.Builder,
,CreateAlertManagerDefinitionRequest> SdkBuilder<CreateAlertManagerDefinitionRequest.Builder,
,CreateAlertManagerDefinitionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAlertManagerDefinitionRequest
public static interface CreateAlertManagerDefinitionRequest.Builder
extends AmpRequest.Builder, SdkPojo, CopyableBuilder<CreateAlertManagerDefinitionRequest.Builder,CreateAlertManagerDefinitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.The alert manager definition data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId
(String workspaceId) The ID of the workspace in which to create the alert manager definition.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
workspaceId
The ID of the workspace in which to create the alert manager definition.
- Parameters:
workspaceId
- The ID of the workspace in which to create the alert manager definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The alert manager definition data.
- Parameters:
data
- The alert manager definition data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
- Parameters:
clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAlertManagerDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAlertManagerDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-