Struct aws_sdk_ssm::types::builders::OpsItemEventFilterBuilder
source · #[non_exhaustive]pub struct OpsItemEventFilterBuilder { /* private fields */ }
Expand description
A builder for OpsItemEventFilter
.
Implementations§
source§impl OpsItemEventFilterBuilder
impl OpsItemEventFilterBuilder
sourcepub fn key(self, input: OpsItemEventFilterKey) -> Self
pub fn key(self, input: OpsItemEventFilterKey) -> Self
The name of the filter key. Currently, the only supported value is OpsItemId
.
sourcepub fn set_key(self, input: Option<OpsItemEventFilterKey>) -> Self
pub fn set_key(self, input: Option<OpsItemEventFilterKey>) -> Self
The name of the filter key. Currently, the only supported value is OpsItemId
.
sourcepub fn get_key(&self) -> &Option<OpsItemEventFilterKey>
pub fn get_key(&self) -> &Option<OpsItemEventFilterKey>
The name of the filter key. Currently, the only supported value is OpsItemId
.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values for the filter, consisting of one or more OpsItem IDs.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The values for the filter, consisting of one or more OpsItem IDs.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The values for the filter, consisting of one or more OpsItem IDs.
sourcepub fn operator(self, input: OpsItemEventFilterOperator) -> Self
pub fn operator(self, input: OpsItemEventFilterOperator) -> Self
The operator used by the filter call. Currently, the only supported value is Equal
.
sourcepub fn set_operator(self, input: Option<OpsItemEventFilterOperator>) -> Self
pub fn set_operator(self, input: Option<OpsItemEventFilterOperator>) -> Self
The operator used by the filter call. Currently, the only supported value is Equal
.
sourcepub fn get_operator(&self) -> &Option<OpsItemEventFilterOperator>
pub fn get_operator(&self) -> &Option<OpsItemEventFilterOperator>
The operator used by the filter call. Currently, the only supported value is Equal
.
sourcepub fn build(self) -> Result<OpsItemEventFilter, BuildError>
pub fn build(self) -> Result<OpsItemEventFilter, BuildError>
Consumes the builder and constructs a OpsItemEventFilter
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OpsItemEventFilterBuilder
impl Clone for OpsItemEventFilterBuilder
source§fn clone(&self) -> OpsItemEventFilterBuilder
fn clone(&self) -> OpsItemEventFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OpsItemEventFilterBuilder
impl Debug for OpsItemEventFilterBuilder
source§impl Default for OpsItemEventFilterBuilder
impl Default for OpsItemEventFilterBuilder
source§fn default() -> OpsItemEventFilterBuilder
fn default() -> OpsItemEventFilterBuilder
source§impl PartialEq for OpsItemEventFilterBuilder
impl PartialEq for OpsItemEventFilterBuilder
source§fn eq(&self, other: &OpsItemEventFilterBuilder) -> bool
fn eq(&self, other: &OpsItemEventFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OpsItemEventFilterBuilder
Auto Trait Implementations§
impl Freeze for OpsItemEventFilterBuilder
impl RefUnwindSafe for OpsItemEventFilterBuilder
impl Send for OpsItemEventFilterBuilder
impl Sync for OpsItemEventFilterBuilder
impl Unpin for OpsItemEventFilterBuilder
impl UnwindSafe for OpsItemEventFilterBuilder
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