Struct aws_sdk_batch::model::efs_volume_configuration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for EfsVolumeConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The Amazon EFS file system ID to use.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The Amazon EFS file system ID to use.
sourcepub fn root_directory(self, input: impl Into<String>) -> Self
pub fn root_directory(self, input: impl Into<String>) -> Self
The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying /
has the same effect as omitting this parameter. The maximum length is 4,096 characters.
If an EFS access point is specified in the authorizationConfig
, the root directory parameter must either be omitted or set to /
, which enforces the path set on the Amazon EFS access point.
sourcepub fn set_root_directory(self, input: Option<String>) -> Self
pub fn set_root_directory(self, input: Option<String>) -> Self
The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying /
has the same effect as omitting this parameter. The maximum length is 4,096 characters.
If an EFS access point is specified in the authorizationConfig
, the root directory parameter must either be omitted or set to /
, which enforces the path set on the Amazon EFS access point.
sourcepub fn transit_encryption(self, input: EfsTransitEncryption) -> Self
pub fn transit_encryption(self, input: EfsTransitEncryption) -> Self
Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of DISABLED
is used. For more information, see Encrypting data in transit in the Amazon Elastic File System User Guide.
sourcepub fn set_transit_encryption(self, input: Option<EfsTransitEncryption>) -> Self
pub fn set_transit_encryption(self, input: Option<EfsTransitEncryption>) -> Self
Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of DISABLED
is used. For more information, see Encrypting data in transit in the Amazon Elastic File System User Guide.
sourcepub fn transit_encryption_port(self, input: i32) -> Self
pub fn transit_encryption_port(self, input: i32) -> Self
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see EFS Mount Helper in the Amazon Elastic File System User Guide.
sourcepub fn set_transit_encryption_port(self, input: Option<i32>) -> Self
pub fn set_transit_encryption_port(self, input: Option<i32>) -> Self
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see EFS Mount Helper in the Amazon Elastic File System User Guide.
The authorization configuration details for the Amazon EFS file system.
The authorization configuration details for the Amazon EFS file system.
sourcepub fn build(self) -> EfsVolumeConfiguration
pub fn build(self) -> EfsVolumeConfiguration
Consumes the builder and constructs a EfsVolumeConfiguration
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more