#[non_exhaustive]pub struct UpdateClusterInput {
pub cluster_id: Option<String>,
pub role_arn: Option<String>,
pub description: Option<String>,
pub resources: Option<JobResource>,
pub on_device_service_configuration: Option<OnDeviceServiceConfiguration>,
pub address_id: Option<String>,
pub shipping_option: Option<ShippingOption>,
pub notification: Option<Notification>,
pub forwarding_address_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_id: Option<String>
The cluster ID of the cluster that you want to update, for example CID123e4567-e89b-12d3-a456-426655440000
.
role_arn: Option<String>
The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in Identity and Access Management (IAM).
description: Option<String>
The updated description of this cluster.
resources: Option<JobResource>
The updated arrays of JobResource
objects that can include updated S3Resource
objects or LambdaResource
objects.
on_device_service_configuration: Option<OnDeviceServiceConfiguration>
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).
address_id: Option<String>
The ID of the updated Address
object.
shipping_option: Option<ShippingOption>
The updated shipping option value of this cluster's ShippingDetails
object.
notification: Option<Notification>
The new or updated Notification
object.
forwarding_address_id: Option<String>
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
Implementations§
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The cluster ID of the cluster that you want to update, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in Identity and Access Management (IAM).
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The updated description of this cluster.
sourcepub fn resources(&self) -> Option<&JobResource>
pub fn resources(&self) -> Option<&JobResource>
The updated arrays of JobResource
objects that can include updated S3Resource
objects or LambdaResource
objects.
sourcepub fn on_device_service_configuration(
&self
) -> Option<&OnDeviceServiceConfiguration>
pub fn on_device_service_configuration( &self ) -> Option<&OnDeviceServiceConfiguration>
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).
sourcepub fn address_id(&self) -> Option<&str>
pub fn address_id(&self) -> Option<&str>
The ID of the updated Address
object.
sourcepub fn shipping_option(&self) -> Option<&ShippingOption>
pub fn shipping_option(&self) -> Option<&ShippingOption>
The updated shipping option value of this cluster's ShippingDetails
object.
sourcepub fn notification(&self) -> Option<&Notification>
pub fn notification(&self) -> Option<&Notification>
The new or updated Notification
object.
sourcepub fn forwarding_address_id(&self) -> Option<&str>
pub fn forwarding_address_id(&self) -> Option<&str>
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
source§impl UpdateClusterInput
impl UpdateClusterInput
sourcepub fn builder() -> UpdateClusterInputBuilder
pub fn builder() -> UpdateClusterInputBuilder
Creates a new builder-style object to manufacture UpdateClusterInput
.
Trait Implementations§
source§impl Clone for UpdateClusterInput
impl Clone for UpdateClusterInput
source§fn clone(&self) -> UpdateClusterInput
fn clone(&self) -> UpdateClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateClusterInput
impl Debug for UpdateClusterInput
source§impl PartialEq for UpdateClusterInput
impl PartialEq for UpdateClusterInput
source§fn eq(&self, other: &UpdateClusterInput) -> bool
fn eq(&self, other: &UpdateClusterInput) -> bool
self
and other
values to be equal, and is used
by ==
.