#[non_exhaustive]pub struct AccessPoliciesStatusBuilder { /* private fields */ }
Expand description
A builder for AccessPoliciesStatus
.
Implementations§
source§impl AccessPoliciesStatusBuilder
impl AccessPoliciesStatusBuilder
sourcepub fn options(self, input: impl Into<String>) -> Self
pub fn options(self, input: impl Into<String>) -> Self
The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.
This field is required.sourcepub fn set_options(self, input: Option<String>) -> Self
pub fn set_options(self, input: Option<String>) -> Self
The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.
sourcepub fn get_options(&self) -> &Option<String>
pub fn get_options(&self) -> &Option<String>
The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.
sourcepub fn status(self, input: OptionStatus) -> Self
pub fn status(self, input: OptionStatus) -> Self
The status of the access policy for the Elasticsearch domain. See OptionStatus
for the status information that's included.
sourcepub fn set_status(self, input: Option<OptionStatus>) -> Self
pub fn set_status(self, input: Option<OptionStatus>) -> Self
The status of the access policy for the Elasticsearch domain. See OptionStatus
for the status information that's included.
sourcepub fn get_status(&self) -> &Option<OptionStatus>
pub fn get_status(&self) -> &Option<OptionStatus>
The status of the access policy for the Elasticsearch domain. See OptionStatus
for the status information that's included.
sourcepub fn build(self) -> Result<AccessPoliciesStatus, BuildError>
pub fn build(self) -> Result<AccessPoliciesStatus, BuildError>
Consumes the builder and constructs a AccessPoliciesStatus
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AccessPoliciesStatusBuilder
impl Clone for AccessPoliciesStatusBuilder
source§fn clone(&self) -> AccessPoliciesStatusBuilder
fn clone(&self) -> AccessPoliciesStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccessPoliciesStatusBuilder
impl Debug for AccessPoliciesStatusBuilder
source§impl Default for AccessPoliciesStatusBuilder
impl Default for AccessPoliciesStatusBuilder
source§fn default() -> AccessPoliciesStatusBuilder
fn default() -> AccessPoliciesStatusBuilder
impl StructuralPartialEq for AccessPoliciesStatusBuilder
Auto Trait Implementations§
impl Freeze for AccessPoliciesStatusBuilder
impl RefUnwindSafe for AccessPoliciesStatusBuilder
impl Send for AccessPoliciesStatusBuilder
impl Sync for AccessPoliciesStatusBuilder
impl Unpin for AccessPoliciesStatusBuilder
impl UnwindSafe for AccessPoliciesStatusBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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