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)>
impl<__FileGid, __FileMode, __FileName, __FileUid, __SecretId, __SecretName> ServiceTaskSpecContainerSpecSecretBuilder<(__FileGid, __FileMode, __FileName, __FileUid, __SecretId, __SecretName)>
sourcepub fn build_struct(self) -> ServiceTaskSpecContainerSpecSecretwhere
__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>,
pub fn build_struct(self) -> ServiceTaskSpecContainerSpecSecretwhere
__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.
sourcepub fn maybe_file_gid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
pub fn maybe_file_gid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
Same as [Self::r#file_gid
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn file_gid(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
pub fn file_gid(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
Represents the file GID. Defaults to 0
sourcepub fn maybe_file_mode(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
pub fn maybe_file_mode(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
Same as [Self::r#file_mode
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn file_mode(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
pub fn file_mode(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
Represents represents the FileMode of the file. Defaults to 0o444
sourcepub fn file_name(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileNamewhere
__FileName: IsUnset,
pub fn file_name(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileNamewhere
__FileName: IsUnset,
Represents the final filename in the filesystem
sourcepub fn maybe_file_uid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUidwhere
__FileUid: IsUnset,
pub fn maybe_file_uid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUidwhere
__FileUid: IsUnset,
Same as [Self::r#file_uid
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn file_uid(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUidwhere
__FileUid: IsUnset,
pub fn file_uid(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::FileUidwhere
__FileUid: IsUnset,
Represents the file UID. Defaults to 0
sourcepub fn secret_id(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretIdwhere
__SecretId: IsUnset,
pub fn secret_id(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretIdwhere
__SecretId: IsUnset,
ID of the specific secret that we’re referencing
sourcepub fn maybe_secret_name(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretNamewhere
__SecretName: IsUnset,
pub fn maybe_secret_name(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretNamewhere
__SecretName: IsUnset,
Same as [Self::r#secret_name
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn secret_name(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretNamewhere
__SecretName: IsUnset,
pub fn secret_name(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecSecretBuilderSetMember>::SecretNamewhere
__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