pub struct ServiceTaskSpecContainerSpecConfigBuilder<___State = __ServiceTaskSpecContainerSpecConfigBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__ConfigId, __ConfigName, __FileGid, __FileMode, __FileName, __FileUid> ServiceTaskSpecContainerSpecConfigBuilder<(__ConfigId, __ConfigName, __FileGid, __FileMode, __FileName, __FileUid)>
impl<__ConfigId, __ConfigName, __FileGid, __FileMode, __FileName, __FileUid> ServiceTaskSpecContainerSpecConfigBuilder<(__ConfigId, __ConfigName, __FileGid, __FileMode, __FileName, __FileUid)>
sourcepub fn build_struct(self) -> ServiceTaskSpecContainerSpecConfigwhere
__ConfigId: IntoSet<Box<String>, ServiceTaskSpecContainerSpecConfigBuilder__config_id>,
__ConfigName: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__config_name>,
__FileGid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_gid>,
__FileMode: IntoSet<Option<Box<Option<i32>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_mode>,
__FileName: IntoSet<Box<String>, ServiceTaskSpecContainerSpecConfigBuilder__file_name>,
__FileUid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_uid>,
pub fn build_struct(self) -> ServiceTaskSpecContainerSpecConfigwhere
__ConfigId: IntoSet<Box<String>, ServiceTaskSpecContainerSpecConfigBuilder__config_id>,
__ConfigName: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__config_name>,
__FileGid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_gid>,
__FileMode: IntoSet<Option<Box<Option<i32>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_mode>,
__FileName: IntoSet<Box<String>, ServiceTaskSpecContainerSpecConfigBuilder__file_name>,
__FileUid: IntoSet<Option<Box<Option<String>>>, ServiceTaskSpecContainerSpecConfigBuilder__file_uid>,
Finishes building and returns the requested object.
sourcepub fn config_id(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigIdwhere
__ConfigId: IsUnset,
pub fn config_id(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigIdwhere
__ConfigId: IsUnset,
ID of the specific config that we’re referencing
sourcepub fn maybe_config_name(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigNamewhere
__ConfigName: IsUnset,
pub fn maybe_config_name(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigNamewhere
__ConfigName: IsUnset,
Same as [Self::r#config_name
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn config_name(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigNamewhere
__ConfigName: IsUnset,
pub fn config_name(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::ConfigNamewhere
__ConfigName: IsUnset,
Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID
sourcepub fn maybe_file_gid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
pub fn maybe_file_gid(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::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 __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileGidwhere
__FileGid: IsUnset,
pub fn file_gid(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::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 __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
pub fn maybe_file_mode(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::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 __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileModewhere
__FileMode: IsUnset,
pub fn file_mode(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::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 __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileNamewhere
__FileName: IsUnset,
pub fn file_name(
self,
value: impl Into<Box<String>>,
) -> <Self as __ServiceTaskSpecContainerSpecConfigBuilderSetMember>::FileNamewhere
__FileName: IsUnset,
Represents the final filename in the filesystem