#[non_exhaustive]pub struct DeploymentSpecificationsFieldBuilder { /* private fields */ }
Expand description
A builder for DeploymentSpecificationsField
.
Implementations§
source§impl DeploymentSpecificationsFieldBuilder
impl DeploymentSpecificationsFieldBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the deployment specification.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the deployment specification.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the deployment specification.
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
Appends an item to allowed_values
.
To override the contents of this collection use set_allowed_values
.
The allowed values of the deployment specification.
sourcepub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
The allowed values of the deployment specification.
sourcepub fn get_allowed_values(&self) -> &Option<Vec<String>>
pub fn get_allowed_values(&self) -> &Option<Vec<String>>
The allowed values of the deployment specification.
sourcepub fn required(self, input: impl Into<String>) -> Self
pub fn required(self, input: impl Into<String>) -> Self
Indicates if the deployment specification is required.
sourcepub fn set_required(self, input: Option<String>) -> Self
pub fn set_required(self, input: Option<String>) -> Self
Indicates if the deployment specification is required.
sourcepub fn get_required(&self) -> &Option<String>
pub fn get_required(&self) -> &Option<String>
Indicates if the deployment specification is required.
sourcepub fn conditionals(self, input: DeploymentConditionalField) -> Self
pub fn conditionals(self, input: DeploymentConditionalField) -> Self
Appends an item to conditionals
.
To override the contents of this collection use set_conditionals
.
The conditionals used for the deployment specification.
sourcepub fn set_conditionals(
self,
input: Option<Vec<DeploymentConditionalField>>,
) -> Self
pub fn set_conditionals( self, input: Option<Vec<DeploymentConditionalField>>, ) -> Self
The conditionals used for the deployment specification.
sourcepub fn get_conditionals(&self) -> &Option<Vec<DeploymentConditionalField>>
pub fn get_conditionals(&self) -> &Option<Vec<DeploymentConditionalField>>
The conditionals used for the deployment specification.
sourcepub fn build(self) -> DeploymentSpecificationsField
pub fn build(self) -> DeploymentSpecificationsField
Consumes the builder and constructs a DeploymentSpecificationsField
.
Trait Implementations§
source§impl Clone for DeploymentSpecificationsFieldBuilder
impl Clone for DeploymentSpecificationsFieldBuilder
source§fn clone(&self) -> DeploymentSpecificationsFieldBuilder
fn clone(&self) -> DeploymentSpecificationsFieldBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeploymentSpecificationsFieldBuilder
impl Default for DeploymentSpecificationsFieldBuilder
source§fn default() -> DeploymentSpecificationsFieldBuilder
fn default() -> DeploymentSpecificationsFieldBuilder
source§impl PartialEq for DeploymentSpecificationsFieldBuilder
impl PartialEq for DeploymentSpecificationsFieldBuilder
source§fn eq(&self, other: &DeploymentSpecificationsFieldBuilder) -> bool
fn eq(&self, other: &DeploymentSpecificationsFieldBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeploymentSpecificationsFieldBuilder
Auto Trait Implementations§
impl Freeze for DeploymentSpecificationsFieldBuilder
impl RefUnwindSafe for DeploymentSpecificationsFieldBuilder
impl Send for DeploymentSpecificationsFieldBuilder
impl Sync for DeploymentSpecificationsFieldBuilder
impl Unpin for DeploymentSpecificationsFieldBuilder
impl UnwindSafe for DeploymentSpecificationsFieldBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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