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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AlertManagerDefinitionDescription.BuildercreatedAt(Instant createdAt)The date and time that the alert manager definition was created.AlertManagerDefinitionDescription.Builderdata(SdkBytes data)The actual alert manager definition.AlertManagerDefinitionDescription.BuildermodifiedAt(Instant modifiedAt)The date and time that the alert manager definition was most recently changed.default AlertManagerDefinitionDescription.Builderstatus(Consumer<AlertManagerDefinitionStatus.Builder> status)A structure that displays the current status of the alert manager definition..AlertManagerDefinitionDescription.Builderstatus(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 Detail
-
createdAt
AlertManagerDefinitionDescription.Builder createdAt(Instant 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
AlertManagerDefinitionDescription.Builder data(SdkBytes 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
AlertManagerDefinitionDescription.Builder modifiedAt(Instant 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
AlertManagerDefinitionDescription.Builder status(AlertManagerDefinitionStatus 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.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:
status(AlertManagerDefinitionStatus)
-
-