Interface EventMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventMetadata.Builder,
,EventMetadata> SdkBuilder<EventMetadata.Builder,
,EventMetadata> SdkPojo
- Enclosing class:
EventMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventMetadata.Builder
cluster
(Consumer<ClusterMetadata.Builder> cluster) Metadata specific to cluster-level events.cluster
(ClusterMetadata cluster) Metadata specific to cluster-level events.default EventMetadata.Builder
instance
(Consumer<InstanceMetadata.Builder> instance) Metadata specific to instance-level events.instance
(InstanceMetadata instance) Metadata specific to instance-level events.default EventMetadata.Builder
instanceGroup
(Consumer<InstanceGroupMetadata.Builder> instanceGroup) Metadata specific to instance group-level events.instanceGroup
(InstanceGroupMetadata instanceGroup) Metadata specific to instance group-level events.default EventMetadata.Builder
instanceGroupScaling
(Consumer<InstanceGroupScalingMetadata.Builder> instanceGroupScaling) Metadata related to instance group scaling events.instanceGroupScaling
(InstanceGroupScalingMetadata instanceGroupScaling) Metadata related to instance group scaling events.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cluster
Metadata specific to cluster-level events.
- Parameters:
cluster
- Metadata specific to cluster-level events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cluster
Metadata specific to cluster-level events.
This is a convenience method that creates an instance of theClusterMetadata.Builder
avoiding the need to create one manually viaClusterMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocluster(ClusterMetadata)
.- Parameters:
cluster
- a consumer that will call methods onClusterMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceGroup
Metadata specific to instance group-level events.
- Parameters:
instanceGroup
- Metadata specific to instance group-level events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroup
Metadata specific to instance group-level events.
This is a convenience method that creates an instance of theInstanceGroupMetadata.Builder
avoiding the need to create one manually viaInstanceGroupMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceGroup(InstanceGroupMetadata)
.- Parameters:
instanceGroup
- a consumer that will call methods onInstanceGroupMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceGroupScaling
Metadata related to instance group scaling events.
- Parameters:
instanceGroupScaling
- Metadata related to instance group scaling events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupScaling
default EventMetadata.Builder instanceGroupScaling(Consumer<InstanceGroupScalingMetadata.Builder> instanceGroupScaling) Metadata related to instance group scaling events.
This is a convenience method that creates an instance of theInstanceGroupScalingMetadata.Builder
avoiding the need to create one manually viaInstanceGroupScalingMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceGroupScaling(InstanceGroupScalingMetadata)
.- Parameters:
instanceGroupScaling
- a consumer that will call methods onInstanceGroupScalingMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instance
Metadata specific to instance-level events.
- Parameters:
instance
- Metadata specific to instance-level events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instance
Metadata specific to instance-level events.
This is a convenience method that creates an instance of theInstanceMetadata.Builder
avoiding the need to create one manually viaInstanceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstance(InstanceMetadata)
.- Parameters:
instance
- a consumer that will call methods onInstanceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-