#[non_exhaustive]pub struct CreateAccessOutputBuilder { /* private fields */ }
Expand description
A builder for CreateAccessOutput
.
Implementations§
source§impl CreateAccessOutputBuilder
impl CreateAccessOutputBuilder
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
The identifier of the server that the user is attached to.
This field is required.sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The identifier of the server that the user is attached to.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The identifier of the server that the user is attached to.
sourcepub fn external_id(self, input: impl Into<String>) -> Self
pub fn external_id(self, input: impl Into<String>) -> Self
The external identifier of the group whose users have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family.
This field is required.sourcepub fn set_external_id(self, input: Option<String>) -> Self
pub fn set_external_id(self, input: Option<String>) -> Self
The external identifier of the group whose users have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family.
sourcepub fn get_external_id(&self) -> &Option<String>
pub fn get_external_id(&self) -> &Option<String>
The external identifier of the group whose users have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family.
sourcepub fn build(self) -> Result<CreateAccessOutput, BuildError>
pub fn build(self) -> Result<CreateAccessOutput, BuildError>
Consumes the builder and constructs a CreateAccessOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateAccessOutputBuilder
impl Clone for CreateAccessOutputBuilder
source§fn clone(&self) -> CreateAccessOutputBuilder
fn clone(&self) -> CreateAccessOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAccessOutputBuilder
impl Debug for CreateAccessOutputBuilder
source§impl Default for CreateAccessOutputBuilder
impl Default for CreateAccessOutputBuilder
source§fn default() -> CreateAccessOutputBuilder
fn default() -> CreateAccessOutputBuilder
source§impl PartialEq for CreateAccessOutputBuilder
impl PartialEq for CreateAccessOutputBuilder
source§fn eq(&self, other: &CreateAccessOutputBuilder) -> bool
fn eq(&self, other: &CreateAccessOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAccessOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateAccessOutputBuilder
impl RefUnwindSafe for CreateAccessOutputBuilder
impl Send for CreateAccessOutputBuilder
impl Sync for CreateAccessOutputBuilder
impl Unpin for CreateAccessOutputBuilder
impl UnwindSafe for CreateAccessOutputBuilder
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