Struct aws_sdk_snowball::types::builders::ClusterMetadataBuilder
source · #[non_exhaustive]pub struct ClusterMetadataBuilder { /* private fields */ }
Expand description
A builder for ClusterMetadata
.
Implementations§
source§impl ClusterMetadataBuilder
impl ClusterMetadataBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The automatically generated ID for a cluster.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The automatically generated ID for a cluster.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The automatically generated ID for a cluster.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The optional description of the cluster.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The optional description of the cluster.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The optional description of the cluster.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The KmsKeyARN
Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in Key Management Service (KMS.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The KmsKeyARN
Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in Key Management Service (KMS.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The KmsKeyARN
Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in Key Management Service (KMS.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The role ARN associated with this cluster. This ARN was created using the CreateRole API action in Identity and Access Management (IAM).
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The role ARN associated with this cluster. This ARN was created using the CreateRole API action in Identity and Access Management (IAM).
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The role ARN associated with this cluster. This ARN was created using the CreateRole API action in Identity and Access Management (IAM).
sourcepub fn cluster_state(self, input: ClusterState) -> Self
pub fn cluster_state(self, input: ClusterState) -> Self
The current status of the cluster.
sourcepub fn set_cluster_state(self, input: Option<ClusterState>) -> Self
pub fn set_cluster_state(self, input: Option<ClusterState>) -> Self
The current status of the cluster.
sourcepub fn get_cluster_state(&self) -> &Option<ClusterState>
pub fn get_cluster_state(&self) -> &Option<ClusterState>
The current status of the cluster.
sourcepub fn job_type(self, input: JobType) -> Self
pub fn job_type(self, input: JobType) -> Self
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
sourcepub fn set_job_type(self, input: Option<JobType>) -> Self
pub fn set_job_type(self, input: Option<JobType>) -> Self
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
sourcepub fn get_job_type(&self) -> &Option<JobType>
pub fn get_job_type(&self) -> &Option<JobType>
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
sourcepub fn snowball_type(self, input: SnowballType) -> Self
pub fn snowball_type(self, input: SnowballType) -> Self
The type of Snowcone device to use for this cluster.
For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
sourcepub fn set_snowball_type(self, input: Option<SnowballType>) -> Self
pub fn set_snowball_type(self, input: Option<SnowballType>) -> Self
The type of Snowcone device to use for this cluster.
For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
sourcepub fn get_snowball_type(&self) -> &Option<SnowballType>
pub fn get_snowball_type(&self) -> &Option<SnowballType>
The type of Snowcone device to use for this cluster.
For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
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 resources(self, input: JobResource) -> Self
pub fn resources(self, input: JobResource) -> Self
The arrays of JobResource
objects that can include updated S3Resource
objects or LambdaResource
objects.
sourcepub fn set_resources(self, input: Option<JobResource>) -> Self
pub fn set_resources(self, input: Option<JobResource>) -> Self
The arrays of JobResource
objects that can include updated S3Resource
objects or LambdaResource
objects.
sourcepub fn get_resources(&self) -> &Option<JobResource>
pub fn get_resources(&self) -> &Option<JobResource>
The arrays of JobResource
objects that can include updated S3Resource
objects or LambdaResource
objects.
sourcepub fn address_id(self, input: impl Into<String>) -> Self
pub fn address_id(self, input: impl Into<String>) -> Self
The automatically generated ID for a specific address.
sourcepub fn set_address_id(self, input: Option<String>) -> Self
pub fn set_address_id(self, input: Option<String>) -> Self
The automatically generated ID for a specific address.
sourcepub fn get_address_id(&self) -> &Option<String>
pub fn get_address_id(&self) -> &Option<String>
The automatically generated ID for a specific address.
sourcepub fn shipping_option(self, input: ShippingOption) -> Self
pub fn shipping_option(self, input: ShippingOption) -> Self
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
-
In India, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
sourcepub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
pub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
-
In India, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
sourcepub fn get_shipping_option(&self) -> &Option<ShippingOption>
pub fn get_shipping_option(&self) -> &Option<ShippingOption>
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
-
In India, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
sourcepub fn notification(self, input: Notification) -> Self
pub fn notification(self, input: Notification) -> Self
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
sourcepub fn set_notification(self, input: Option<Notification>) -> Self
pub fn set_notification(self, input: Option<Notification>) -> Self
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
sourcepub fn get_notification(&self) -> &Option<Notification>
pub fn get_notification(&self) -> &Option<Notification>
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
sourcepub fn forwarding_address_id(self, input: impl Into<String>) -> Self
pub fn forwarding_address_id(self, input: impl Into<String>) -> Self
The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
sourcepub fn set_forwarding_address_id(self, input: Option<String>) -> Self
pub fn set_forwarding_address_id(self, input: Option<String>) -> Self
The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
sourcepub fn get_forwarding_address_id(&self) -> &Option<String>
pub fn get_forwarding_address_id(&self) -> &Option<String>
The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
sourcepub fn tax_documents(self, input: TaxDocuments) -> Self
pub fn tax_documents(self, input: TaxDocuments) -> Self
The tax documents required in your Amazon Web Services Region.
sourcepub fn set_tax_documents(self, input: Option<TaxDocuments>) -> Self
pub fn set_tax_documents(self, input: Option<TaxDocuments>) -> Self
The tax documents required in your Amazon Web Services Region.
sourcepub fn get_tax_documents(&self) -> &Option<TaxDocuments>
pub fn get_tax_documents(&self) -> &Option<TaxDocuments>
The tax documents required in your Amazon Web Services Region.
sourcepub fn on_device_service_configuration(
self,
input: OnDeviceServiceConfiguration
) -> Self
pub fn on_device_service_configuration( self, input: OnDeviceServiceConfiguration ) -> Self
Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
sourcepub fn set_on_device_service_configuration(
self,
input: Option<OnDeviceServiceConfiguration>
) -> Self
pub fn set_on_device_service_configuration( self, input: Option<OnDeviceServiceConfiguration> ) -> Self
Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
sourcepub fn get_on_device_service_configuration(
&self
) -> &Option<OnDeviceServiceConfiguration>
pub fn get_on_device_service_configuration( &self ) -> &Option<OnDeviceServiceConfiguration>
Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
sourcepub fn build(self) -> ClusterMetadata
pub fn build(self) -> ClusterMetadata
Consumes the builder and constructs a ClusterMetadata
.
Trait Implementations§
source§impl Clone for ClusterMetadataBuilder
impl Clone for ClusterMetadataBuilder
source§fn clone(&self) -> ClusterMetadataBuilder
fn clone(&self) -> ClusterMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterMetadataBuilder
impl Debug for ClusterMetadataBuilder
source§impl Default for ClusterMetadataBuilder
impl Default for ClusterMetadataBuilder
source§fn default() -> ClusterMetadataBuilder
fn default() -> ClusterMetadataBuilder
source§impl PartialEq for ClusterMetadataBuilder
impl PartialEq for ClusterMetadataBuilder
source§fn eq(&self, other: &ClusterMetadataBuilder) -> bool
fn eq(&self, other: &ClusterMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.