Struct aws_sdk_sagemaker::operation::describe_cluster::builders::DescribeClusterOutputBuilder
source · #[non_exhaustive]pub struct DescribeClusterOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeClusterOutput
.
Implementations§
source§impl DescribeClusterOutputBuilder
impl DescribeClusterOutputBuilder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
This field is required.sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the SageMaker HyperPod cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the SageMaker HyperPod cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the SageMaker HyperPod cluster.
sourcepub fn cluster_status(self, input: ClusterStatus) -> Self
pub fn cluster_status(self, input: ClusterStatus) -> Self
The status of the SageMaker HyperPod cluster.
This field is required.sourcepub fn set_cluster_status(self, input: Option<ClusterStatus>) -> Self
pub fn set_cluster_status(self, input: Option<ClusterStatus>) -> Self
The status of the SageMaker HyperPod cluster.
sourcepub fn get_cluster_status(&self) -> &Option<ClusterStatus>
pub fn get_cluster_status(&self) -> &Option<ClusterStatus>
The status of the SageMaker HyperPod cluster.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the SageMaker Cluster is created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the SageMaker Cluster is created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the SageMaker Cluster is created.
sourcepub fn failure_message(self, input: impl Into<String>) -> Self
pub fn failure_message(self, input: impl Into<String>) -> Self
The failure message of the SageMaker HyperPod cluster.
sourcepub fn set_failure_message(self, input: Option<String>) -> Self
pub fn set_failure_message(self, input: Option<String>) -> Self
The failure message of the SageMaker HyperPod cluster.
sourcepub fn get_failure_message(&self) -> &Option<String>
pub fn get_failure_message(&self) -> &Option<String>
The failure message of the SageMaker HyperPod cluster.
sourcepub fn instance_groups(self, input: ClusterInstanceGroupDetails) -> Self
pub fn instance_groups(self, input: ClusterInstanceGroupDetails) -> Self
Appends an item to instance_groups
.
To override the contents of this collection use set_instance_groups
.
The instance groups of the SageMaker HyperPod cluster.
sourcepub fn set_instance_groups(
self,
input: Option<Vec<ClusterInstanceGroupDetails>>
) -> Self
pub fn set_instance_groups( self, input: Option<Vec<ClusterInstanceGroupDetails>> ) -> Self
The instance groups of the SageMaker HyperPod cluster.
sourcepub fn get_instance_groups(&self) -> &Option<Vec<ClusterInstanceGroupDetails>>
pub fn get_instance_groups(&self) -> &Option<Vec<ClusterInstanceGroupDetails>>
The instance groups of 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.
sourcepub fn build(self) -> DescribeClusterOutput
pub fn build(self) -> DescribeClusterOutput
Consumes the builder and constructs a DescribeClusterOutput
.
Trait Implementations§
source§impl Clone for DescribeClusterOutputBuilder
impl Clone for DescribeClusterOutputBuilder
source§fn clone(&self) -> DescribeClusterOutputBuilder
fn clone(&self) -> DescribeClusterOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeClusterOutputBuilder
impl Debug for DescribeClusterOutputBuilder
source§impl Default for DescribeClusterOutputBuilder
impl Default for DescribeClusterOutputBuilder
source§fn default() -> DescribeClusterOutputBuilder
fn default() -> DescribeClusterOutputBuilder
source§impl PartialEq for DescribeClusterOutputBuilder
impl PartialEq for DescribeClusterOutputBuilder
source§fn eq(&self, other: &DescribeClusterOutputBuilder) -> bool
fn eq(&self, other: &DescribeClusterOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.