pub struct ServiceTaskSpecContainerSpecSecretBuilder<___State = __ServiceTaskSpecContainerSpecSecretBuilderInitialState> { /* private fields */ }
Expand description

Use builder syntax to set the required parameters and finish by calling the method Self::build_struct().

Implementations§

source§

impl<__FileGid, __FileMode, __FileName, __FileUid, __SecretId, __SecretName> ServiceTaskSpecContainerSpecSecretBuilder<(__FileGid, __FileMode, __FileName, __FileUid, __SecretId, __SecretName)>

source

pub fn build_struct(self) -> ServiceTaskSpecContainerSpecSecret
where __FileGid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecSecretBuilder__file_gid>, __FileMode: IntoSet<Option<Box<Option<i32>>>, ServiceTaskSpecContainerSpecSecretBuilder__file_mode>, __FileName: IntoSet<Box<String>, ServiceTaskSpecContainerSpecSecretBuilder__file_name>, __FileUid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecSecretBuilder__file_uid>, __SecretId: IntoSet<Box<String>, ServiceTaskSpecContainerSpecSecretBuilder__secret_id>, __SecretName: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecSecretBuilder__secret_name>,

Finishes building and returns the requested object.

source

pub fn maybe_file_gid( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGid
where __FileGid: IsUnset,

Same as [Self::r#file_gid], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn file_gid( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGid
where __FileGid: IsUnset,

Represents the file GID. Defaults to 0

source

pub fn maybe_file_mode( self, value: Option<impl Into<Box<Option<i32>>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileMode
where __FileMode: IsUnset,

Same as [Self::r#file_mode], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn file_mode( self, value: impl Into<Box<Option<i32>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileMode
where __FileMode: IsUnset,

Represents represents the FileMode of the file. Defaults to 0o444

source

pub fn file_name( self, value: impl Into<Box<String>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileName
where __FileName: IsUnset,

Represents the final filename in the filesystem

source

pub fn maybe_file_uid( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUid
where __FileUid: IsUnset,

Same as [Self::r#file_uid], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn file_uid( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUid
where __FileUid: IsUnset,

Represents the file UID. Defaults to 0

source

pub fn secret_id( self, value: impl Into<Box<String>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretId
where __SecretId: IsUnset,

ID of the specific secret that we’re referencing

source

pub fn maybe_secret_name( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretName
where __SecretName: IsUnset,

Same as [Self::r#secret_name], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn secret_name( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretName
where __SecretName: IsUnset,

Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID

Auto Trait Implementations§

§

impl<___State> Freeze for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: Freeze,

§

impl<___State> RefUnwindSafe for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: RefUnwindSafe,

§

impl<___State> Send for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: Send,

§

impl<___State> Sync for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: Sync,

§

impl<___State> Unpin for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: Unpin,

§

impl<___State> UnwindSafe for ServiceTaskSpecContainerSpecSecretBuilder<___State>
where ___State: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.