#[non_exhaustive]pub struct PlatformFilterBuilder { /* private fields */ }Expand description
A builder for PlatformFilter.
Implementations§
source§impl PlatformFilterBuilder
impl PlatformFilterBuilder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
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 set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
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 get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &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
sourcepub fn operator(self, input: impl Into<String>) -> Self
pub fn operator(self, input: impl Into<String>) -> Self
The operator to apply to the Type with each of the Values.
Valid values: = | != | < | <= | > | >= | contains | begins_with | ends_with
sourcepub fn set_operator(self, input: Option<String>) -> Self
pub fn set_operator(self, input: Option<String>) -> Self
The operator to apply to the Type with each of the Values.
Valid values: = | != | < | <= | > | >= | contains | begins_with | ends_with
sourcepub fn get_operator(&self) -> &Option<String>
pub fn get_operator(&self) -> &Option<String>
The operator to apply to the Type with each of the Values.
Valid values: = | != | < | <= | > | >= | contains | begins_with | ends_with
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 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
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
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
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &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
sourcepub fn build(self) -> PlatformFilter
pub fn build(self) -> PlatformFilter
Consumes the builder and constructs a PlatformFilter.
Trait Implementations§
source§impl Clone for PlatformFilterBuilder
impl Clone for PlatformFilterBuilder
source§fn clone(&self) -> PlatformFilterBuilder
fn clone(&self) -> PlatformFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PlatformFilterBuilder
impl Debug for PlatformFilterBuilder
source§impl Default for PlatformFilterBuilder
impl Default for PlatformFilterBuilder
source§fn default() -> PlatformFilterBuilder
fn default() -> PlatformFilterBuilder
source§impl PartialEq<PlatformFilterBuilder> for PlatformFilterBuilder
impl PartialEq<PlatformFilterBuilder> for PlatformFilterBuilder
source§fn eq(&self, other: &PlatformFilterBuilder) -> bool
fn eq(&self, other: &PlatformFilterBuilder) -> bool
self and other values to be equal, and is used
by ==.