Interface EventMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventMetadata.Builder,,EventMetadata> SdkBuilder<EventMetadata.Builder,,EventMetadata> SdkPojo
- Enclosing class:
EventMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventMetadata.Buildercluster(Consumer<ClusterMetadata.Builder> cluster) Metadata specific to cluster-level events.cluster(ClusterMetadata cluster) Metadata specific to cluster-level events.default EventMetadata.BuilderdatabaseConfiguration(Consumer<DatabaseConfigurationMetadata.Builder> databaseConfiguration) Metadata specific to events about the external Slurm accounting database of the cluster.databaseConfiguration(DatabaseConfigurationMetadata databaseConfiguration) Metadata specific to events about the external Slurm accounting database of the cluster.default EventMetadata.Builderinstance(Consumer<InstanceMetadata.Builder> instance) Metadata specific to instance-level events.instance(InstanceMetadata instance) Metadata specific to instance-level events.default EventMetadata.BuilderinstanceGroup(Consumer<InstanceGroupMetadata.Builder> instanceGroup) Metadata specific to instance group-level events.instanceGroup(InstanceGroupMetadata instanceGroup) Metadata specific to instance group-level events.default EventMetadata.BuilderinstanceGroupScaling(Consumer<InstanceGroupScalingMetadata.Builder> instanceGroupScaling) Metadata related to instance group scaling events.instanceGroupScaling(InstanceGroupScalingMetadata instanceGroupScaling) Metadata related to instance group scaling events.default EventMetadata.BuilderslurmHealth(Consumer<SlurmHealthMetadata.Builder> slurmHealth) Metadata specific to events about the health of the Slurm components on the controller node of the cluster.slurmHealth(SlurmHealthMetadata slurmHealth) Metadata specific to events about the health of the Slurm components on the controller node of the cluster.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
-
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.Builderavoiding the need to create one manually viaClusterMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceGroupMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceGroupScalingMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceMetadata.builder().When the
Consumercompletes,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:
-
databaseConfiguration
Metadata specific to events about the external Slurm accounting database of the cluster.
- Parameters:
databaseConfiguration- Metadata specific to events about the external Slurm accounting database of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseConfiguration
default EventMetadata.Builder databaseConfiguration(Consumer<DatabaseConfigurationMetadata.Builder> databaseConfiguration) Metadata specific to events about the external Slurm accounting database of the cluster.
This is a convenience method that creates an instance of theDatabaseConfigurationMetadata.Builderavoiding the need to create one manually viaDatabaseConfigurationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseConfiguration(DatabaseConfigurationMetadata).- Parameters:
databaseConfiguration- a consumer that will call methods onDatabaseConfigurationMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slurmHealth
Metadata specific to events about the health of the Slurm components on the controller node of the cluster.
- Parameters:
slurmHealth- Metadata specific to events about the health of the Slurm components on the controller node of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmHealth
Metadata specific to events about the health of the Slurm components on the controller node of the cluster.
This is a convenience method that creates an instance of theSlurmHealthMetadata.Builderavoiding the need to create one manually viaSlurmHealthMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslurmHealth(SlurmHealthMetadata).- Parameters:
slurmHealth- a consumer that will call methods onSlurmHealthMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-