Struct aws_sdk_elasticbeanstalk::types::PlatformFilter
source · #[non_exhaustive]pub struct PlatformFilter {
pub type: Option<String>,
pub operator: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
Describes criteria to restrict the results when listing platform versions.
The filter is evaluated as follows: Type Operator Values\[1\]
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.type: Option<String>
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
| PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
| SupportedTier
| SupportedAddon
| ProgrammingLanguageName
| OperatingSystemName
operator: Option<String>
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
| >=
| contains
| begins_with
| ends_with
values: Option<Vec<String>>
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
-
PlatformStatus
:Creating
|Failed
|Ready
|Deleting
|Deleted
-
PlatformLifecycleState
:recommended
-
SupportedTier
:WebServer/Standard
|Worker/SQS/HTTP
-
SupportedAddon
:Log/S3
|Monitoring/Healthd
|WorkerDaemon/SQSD
Implementations§
source§impl PlatformFilter
impl PlatformFilter
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
| PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
| SupportedTier
| SupportedAddon
| ProgrammingLanguageName
| OperatingSystemName
sourcepub fn operator(&self) -> Option<&str>
pub fn operator(&self) -> Option<&str>
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
| >=
| contains
| begins_with
| ends_with
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
-
PlatformStatus
:Creating
|Failed
|Ready
|Deleting
|Deleted
-
PlatformLifecycleState
:recommended
-
SupportedTier
:WebServer/Standard
|Worker/SQS/HTTP
-
SupportedAddon
:Log/S3
|Monitoring/Healthd
|WorkerDaemon/SQSD
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none()
.
source§impl PlatformFilter
impl PlatformFilter
sourcepub fn builder() -> PlatformFilterBuilder
pub fn builder() -> PlatformFilterBuilder
Creates a new builder-style object to manufacture PlatformFilter
.
Trait Implementations§
source§impl Clone for PlatformFilter
impl Clone for PlatformFilter
source§fn clone(&self) -> PlatformFilter
fn clone(&self) -> PlatformFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlatformFilter
impl Debug for PlatformFilter
source§impl PartialEq for PlatformFilter
impl PartialEq for PlatformFilter
source§fn eq(&self, other: &PlatformFilter) -> bool
fn eq(&self, other: &PlatformFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlatformFilter
Auto Trait Implementations§
impl Freeze for PlatformFilter
impl RefUnwindSafe for PlatformFilter
impl Send for PlatformFilter
impl Sync for PlatformFilter
impl Unpin for PlatformFilter
impl UnwindSafe for PlatformFilter
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