Interface Destination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Destination.Builder,,Destination> SdkBuilder<Destination.Builder,,Destination> SdkPojo
- Enclosing class:
Destination
@Mutable
@NotThreadSafe
public static interface Destination.Builder
extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Destination.BuilderampConfiguration(Consumer<AmpConfiguration.Builder> ampConfiguration) The Amazon Managed Service for Prometheus workspace to send metrics to.ampConfiguration(AmpConfiguration ampConfiguration) The Amazon Managed Service for Prometheus workspace to send metrics to.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
ampConfiguration
The Amazon Managed Service for Prometheus workspace to send metrics to.
- Parameters:
ampConfiguration- The Amazon Managed Service for Prometheus workspace to send metrics to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ampConfiguration
The Amazon Managed Service for Prometheus workspace to send metrics to.
This is a convenience method that creates an instance of theAmpConfiguration.Builderavoiding the need to create one manually viaAmpConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toampConfiguration(AmpConfiguration).- Parameters:
ampConfiguration- a consumer that will call methods onAmpConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-