Struct aws_sdk_fsx::types::FileCacheCreating

source ·
#[non_exhaustive]
pub struct FileCacheCreating {
Show 18 fields pub owner_id: Option<String>, pub creation_time: Option<DateTime>, pub file_cache_id: Option<String>, pub file_cache_type: Option<FileCacheType>, pub file_cache_type_version: Option<String>, pub lifecycle: Option<FileCacheLifecycle>, pub failure_details: Option<FileCacheFailureDetails>, pub storage_capacity: Option<i32>, pub vpc_id: Option<String>, pub subnet_ids: Option<Vec<String>>, pub network_interface_ids: Option<Vec<String>>, pub dns_name: Option<String>, pub kms_key_id: Option<String>, pub resource_arn: Option<String>, pub tags: Option<Vec<Tag>>, pub copy_tags_to_data_repository_associations: Option<bool>, pub lustre_configuration: Option<FileCacheLustreConfiguration>, pub data_repository_association_ids: Option<Vec<String>>,
}
Expand description

The response object for the Amazon File Cache resource being created in the CreateFileCache operation.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§owner_id: Option<String>

An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.

§creation_time: Option<DateTime>

The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.

§file_cache_id: Option<String>

The system-generated, unique ID of the cache.

§file_cache_type: Option<FileCacheType>

The type of cache, which must be LUSTRE.

§file_cache_type_version: Option<String>

The Lustre version of the cache, which must be 2.12.

§lifecycle: Option<FileCacheLifecycle>

The lifecycle status of the cache. The following are the possible values and what they mean:

  • AVAILABLE - The cache is in a healthy state, and is reachable and available for use.

  • CREATING - The new cache is being created.

  • DELETING - An existing cache is being deleted.

  • UPDATING - The cache is undergoing a customer-initiated update.

  • FAILED - An existing cache has experienced an unrecoverable failure. When creating a new cache, the cache was unable to be created.

§failure_details: Option<FileCacheFailureDetails>

A structure providing details of any failures that occurred.

§storage_capacity: Option<i32>

The storage capacity of the cache in gibibytes (GiB).

§vpc_id: Option<String>

The ID of your virtual private cloud (VPC). For more information, see VPC and subnets in the Amazon VPC User Guide.

§subnet_ids: Option<Vec<String>>

A list of subnet IDs that the cache will be accessible from. You can specify only one subnet ID in a call to the CreateFileCache operation.

§network_interface_ids: Option<Vec<String>>

A list of network interface IDs.

§dns_name: Option<String>

The Domain Name System (DNS) name for the cache.

§kms_key_id: Option<String>

Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed KMS key for your account is used. For more information, see Encrypt in the Key Management Service API Reference.

§resource_arn: Option<String>

The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

§tags: Option<Vec<Tag>>

A list of Tag values, with a maximum of 50 elements.

§copy_tags_to_data_repository_associations: Option<bool>

A boolean flag indicating whether tags for the cache should be copied to data repository associations.

§lustre_configuration: Option<FileCacheLustreConfiguration>

The configuration for the Amazon File Cache resource.

§data_repository_association_ids: Option<Vec<String>>

A list of IDs of data repository associations that are associated with this cache.

Implementations§

source§

impl FileCacheCreating

source

pub fn owner_id(&self) -> Option<&str>

An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.

source

pub fn creation_time(&self) -> Option<&DateTime>

The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.

source

pub fn file_cache_id(&self) -> Option<&str>

The system-generated, unique ID of the cache.

source

pub fn file_cache_type(&self) -> Option<&FileCacheType>

The type of cache, which must be LUSTRE.

source

pub fn file_cache_type_version(&self) -> Option<&str>

The Lustre version of the cache, which must be 2.12.

source

pub fn lifecycle(&self) -> Option<&FileCacheLifecycle>

The lifecycle status of the cache. The following are the possible values and what they mean:

  • AVAILABLE - The cache is in a healthy state, and is reachable and available for use.

  • CREATING - The new cache is being created.

  • DELETING - An existing cache is being deleted.

  • UPDATING - The cache is undergoing a customer-initiated update.

  • FAILED - An existing cache has experienced an unrecoverable failure. When creating a new cache, the cache was unable to be created.

source

pub fn failure_details(&self) -> Option<&FileCacheFailureDetails>

A structure providing details of any failures that occurred.

source

pub fn storage_capacity(&self) -> Option<i32>

The storage capacity of the cache in gibibytes (GiB).

source

pub fn vpc_id(&self) -> Option<&str>

The ID of your virtual private cloud (VPC). For more information, see VPC and subnets in the Amazon VPC User Guide.

source

pub fn subnet_ids(&self) -> &[String]

A list of subnet IDs that the cache will be accessible from. You can specify only one subnet ID in a call to the CreateFileCache operation.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none().

source

pub fn network_interface_ids(&self) -> &[String]

A list of network interface IDs.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interface_ids.is_none().

source

pub fn dns_name(&self) -> Option<&str>

The Domain Name System (DNS) name for the cache.

source

pub fn kms_key_id(&self) -> Option<&str>

Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on an Amazon File Cache. If a KmsKeyId isn't specified, the Amazon FSx-managed KMS key for your account is used. For more information, see Encrypt in the Key Management Service API Reference.

source

pub fn resource_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

source

pub fn tags(&self) -> &[Tag]

A list of Tag values, with a maximum of 50 elements.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().

source

pub fn copy_tags_to_data_repository_associations(&self) -> Option<bool>

A boolean flag indicating whether tags for the cache should be copied to data repository associations.

source

pub fn lustre_configuration(&self) -> Option<&FileCacheLustreConfiguration>

The configuration for the Amazon File Cache resource.

source

pub fn data_repository_association_ids(&self) -> &[String]

A list of IDs of data repository associations that are associated with this cache.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .data_repository_association_ids.is_none().

source§

impl FileCacheCreating

source

pub fn builder() -> FileCacheCreatingBuilder

Creates a new builder-style object to manufacture FileCacheCreating.

Trait Implementations§

source§

impl Clone for FileCacheCreating

source§

fn clone(&self) -> FileCacheCreating

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FileCacheCreating

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for FileCacheCreating

source§

fn eq(&self, other: &FileCacheCreating) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for FileCacheCreating

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more