Interface AlertManagerDefinitionDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlertManagerDefinitionDescription.Builder,
,AlertManagerDefinitionDescription> SdkBuilder<AlertManagerDefinitionDescription.Builder,
,AlertManagerDefinitionDescription> SdkPojo
- Enclosing class:
AlertManagerDefinitionDescription
public static interface AlertManagerDefinitionDescription.Builder
extends SdkPojo, CopyableBuilder<AlertManagerDefinitionDescription.Builder,AlertManagerDefinitionDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that the alert manager definition was created.The actual alert manager definition.modifiedAt
(Instant modifiedAt) The date and time that the alert manager definition was most recently changed.A 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.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
-
createdAt
The date and time that the alert manager definition was created.
- Parameters:
createdAt
- The date and time that the alert manager definition was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
- Parameters:
data
- The actual alert manager definition.For details about the alert manager definition, see AlertManagedDefinitionData.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The date and time that the alert manager definition was most recently changed.
- Parameters:
modifiedAt
- The date and time that the alert manager definition was most recently changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 AlertManagerDefinitionDescription.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.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:
-