Interface CreateClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>,SageMakerRequest.Builder,SdkBuilder<CreateClusterRequest.Builder,CreateClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateClusterRequest
public static interface CreateClusterRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateClusterRequest.BuilderclusterName(String clusterName)The name for the new SageMaker HyperPod cluster.CreateClusterRequest.BuilderinstanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups)The instance groups to be created in the SageMaker HyperPod cluster.CreateClusterRequest.BuilderinstanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups)The instance groups to be created in the SageMaker HyperPod cluster.CreateClusterRequest.BuilderinstanceGroups(ClusterInstanceGroupSpecification... instanceGroups)The instance groups to be created in the SageMaker HyperPod cluster.CreateClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateClusterRequest.Buildertags(Collection<Tag> tags)Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource.CreateClusterRequest.Buildertags(Consumer<Tag.Builder>... tags)Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource.CreateClusterRequest.Buildertags(Tag... tags)Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource.default CreateClusterRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)Sets the value of the VpcConfig property for this object.CreateClusterRequest.BuildervpcConfig(VpcConfig vpcConfig)Sets the value of the VpcConfig property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
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
-
clusterName
CreateClusterRequest.Builder clusterName(String clusterName)
The name for the new SageMaker HyperPod cluster.
- Parameters:
clusterName- The name for the new SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
CreateClusterRequest.Builder instanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups)
The instance groups to be created in the SageMaker HyperPod cluster.
- Parameters:
instanceGroups- The instance groups to be created in the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
CreateClusterRequest.Builder instanceGroups(ClusterInstanceGroupSpecification... instanceGroups)
The instance groups to be created in the SageMaker HyperPod cluster.
- Parameters:
instanceGroups- The instance groups to be created in the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
CreateClusterRequest.Builder instanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups)
The instance groups to be created in the SageMaker HyperPod cluster.
This is a convenience method that creates an instance of theClusterInstanceGroupSpecification.Builderavoiding the need to create one manually viaClusterInstanceGroupSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceGroups(List.) - Parameters:
instanceGroups- a consumer that will call methods onClusterInstanceGroupSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceGroups(java.util.Collection)
-
vpcConfig
CreateClusterRequest.Builder vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default CreateClusterRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
tags
CreateClusterRequest.Builder tags(Collection<Tag> tags)
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.
- Parameters:
tags- Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterRequest.Builder tags(Tag... tags)
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.
- Parameters:
tags- Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterRequest.Builder tags(Consumer<Tag.Builder>... tags)
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-