#[non_exhaustive]pub struct CreateClusterInputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterInput
.
Implementations§
source§impl CreateClusterInputBuilder
impl CreateClusterInputBuilder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name for the new SageMaker HyperPod cluster.
This field is required.sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name for the new SageMaker HyperPod cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name for the new SageMaker HyperPod cluster.
sourcepub fn instance_groups(self, input: ClusterInstanceGroupSpecification) -> Self
pub fn instance_groups(self, input: ClusterInstanceGroupSpecification) -> Self
Appends an item to instance_groups
.
To override the contents of this collection use set_instance_groups
.
The instance groups to be created in the SageMaker HyperPod cluster.
sourcepub fn set_instance_groups(
self,
input: Option<Vec<ClusterInstanceGroupSpecification>>
) -> Self
pub fn set_instance_groups( self, input: Option<Vec<ClusterInstanceGroupSpecification>> ) -> Self
The instance groups to be created in the SageMaker HyperPod cluster.
sourcepub fn get_instance_groups(
&self
) -> &Option<Vec<ClusterInstanceGroupSpecification>>
pub fn get_instance_groups( &self ) -> &Option<Vec<ClusterInstanceGroupSpecification>>
The instance groups to be created in the SageMaker HyperPod cluster.
sourcepub fn vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.
sourcepub fn get_vpc_config(&self) -> &Option<VpcConfig>
pub fn get_vpc_config(&self) -> &Option<VpcConfig>
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.
Appends an item to tags
.
To override the contents of this collection use set_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.
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.
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.
sourcepub fn build(self) -> Result<CreateClusterInput, BuildError>
pub fn build(self) -> Result<CreateClusterInput, BuildError>
Consumes the builder and constructs a CreateClusterInput
.
source§impl CreateClusterInputBuilder
impl CreateClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateClusterOutput, SdkError<CreateClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateClusterOutput, SdkError<CreateClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateClusterInputBuilder
impl Clone for CreateClusterInputBuilder
source§fn clone(&self) -> CreateClusterInputBuilder
fn clone(&self) -> CreateClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterInputBuilder
impl Debug for CreateClusterInputBuilder
source§impl Default for CreateClusterInputBuilder
impl Default for CreateClusterInputBuilder
source§fn default() -> CreateClusterInputBuilder
fn default() -> CreateClusterInputBuilder
source§impl PartialEq for CreateClusterInputBuilder
impl PartialEq for CreateClusterInputBuilder
source§fn eq(&self, other: &CreateClusterInputBuilder) -> bool
fn eq(&self, other: &CreateClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.