Struct aws_sdk_snowball::types::builders::ClusterListEntryBuilder
source · #[non_exhaustive]pub struct ClusterListEntryBuilder { /* private fields */ }
Expand description
A builder for ClusterListEntry
.
Implementations§
source§impl ClusterListEntryBuilder
impl ClusterListEntryBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn cluster_state(self, input: ClusterState) -> Self
pub fn cluster_state(self, input: ClusterState) -> Self
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState
.
sourcepub fn set_cluster_state(self, input: Option<ClusterState>) -> Self
pub fn set_cluster_state(self, input: Option<ClusterState>) -> Self
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState
.
sourcepub fn get_cluster_state(&self) -> &Option<ClusterState>
pub fn get_cluster_state(&self) -> &Option<ClusterState>
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState
.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The creation date for this cluster.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The creation date for this cluster.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The creation date for this cluster.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Defines an optional description of the cluster, for example Environmental Data Cluster-01
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Defines an optional description of the cluster, for example Environmental Data Cluster-01
.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Defines an optional description of the cluster, for example Environmental Data Cluster-01
.
sourcepub fn build(self) -> ClusterListEntry
pub fn build(self) -> ClusterListEntry
Consumes the builder and constructs a ClusterListEntry
.
Trait Implementations§
source§impl Clone for ClusterListEntryBuilder
impl Clone for ClusterListEntryBuilder
source§fn clone(&self) -> ClusterListEntryBuilder
fn clone(&self) -> ClusterListEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterListEntryBuilder
impl Debug for ClusterListEntryBuilder
source§impl Default for ClusterListEntryBuilder
impl Default for ClusterListEntryBuilder
source§fn default() -> ClusterListEntryBuilder
fn default() -> ClusterListEntryBuilder
source§impl PartialEq for ClusterListEntryBuilder
impl PartialEq for ClusterListEntryBuilder
source§fn eq(&self, other: &ClusterListEntryBuilder) -> bool
fn eq(&self, other: &ClusterListEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.