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
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.
A list of Tag
values, with a maximum of 50 elements.
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
impl FileCacheCreating
sourcepub fn owner_id(&self) -> Option<&str>
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.
sourcepub fn creation_time(&self) -> Option<&DateTime>
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.
sourcepub fn file_cache_id(&self) -> Option<&str>
pub fn file_cache_id(&self) -> Option<&str>
The system-generated, unique ID of the cache.
sourcepub fn file_cache_type(&self) -> Option<&FileCacheType>
pub fn file_cache_type(&self) -> Option<&FileCacheType>
The type of cache, which must be LUSTRE
.
sourcepub fn file_cache_type_version(&self) -> Option<&str>
pub fn file_cache_type_version(&self) -> Option<&str>
The Lustre version of the cache, which must be 2.12
.
sourcepub fn lifecycle(&self) -> Option<&FileCacheLifecycle>
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.
sourcepub fn failure_details(&self) -> Option<&FileCacheFailureDetails>
pub fn failure_details(&self) -> Option<&FileCacheFailureDetails>
A structure providing details of any failures that occurred.
sourcepub fn storage_capacity(&self) -> Option<i32>
pub fn storage_capacity(&self) -> Option<i32>
The storage capacity of the cache in gibibytes (GiB).
sourcepub fn vpc_id(&self) -> Option<&str>
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.
sourcepub fn subnet_ids(&self) -> &[String]
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()
.
sourcepub fn network_interface_ids(&self) -> &[String]
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()
.
sourcepub fn kms_key_id(&self) -> Option<&str>
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.
sourcepub fn resource_arn(&self) -> Option<&str>
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.
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()
.
A boolean flag indicating whether tags for the cache should be copied to data repository associations.
sourcepub fn lustre_configuration(&self) -> Option<&FileCacheLustreConfiguration>
pub fn lustre_configuration(&self) -> Option<&FileCacheLustreConfiguration>
The configuration for the Amazon File Cache resource.
sourcepub fn data_repository_association_ids(&self) -> &[String]
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
impl FileCacheCreating
sourcepub fn builder() -> FileCacheCreatingBuilder
pub fn builder() -> FileCacheCreatingBuilder
Creates a new builder-style object to manufacture FileCacheCreating
.
Trait Implementations§
source§impl Clone for FileCacheCreating
impl Clone for FileCacheCreating
source§fn clone(&self) -> FileCacheCreating
fn clone(&self) -> FileCacheCreating
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileCacheCreating
impl Debug for FileCacheCreating
source§impl PartialEq for FileCacheCreating
impl PartialEq for FileCacheCreating
source§fn eq(&self, other: &FileCacheCreating) -> bool
fn eq(&self, other: &FileCacheCreating) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileCacheCreating
Auto Trait Implementations§
impl Freeze for FileCacheCreating
impl RefUnwindSafe for FileCacheCreating
impl Send for FileCacheCreating
impl Sync for FileCacheCreating
impl Unpin for FileCacheCreating
impl UnwindSafe for FileCacheCreating
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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