Struct pulumi_wasm_docker::plugin::PluginArgsBuilder
source · pub struct PluginArgsBuilder<___State = __PluginArgsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Alias, __EnableTimeout, __Enabled, __Envs, __ForceDestroy, __ForceDisable, __GrantAllPermissions, __GrantPermissions, __Name> PluginArgsBuilder<(__Alias, __EnableTimeout, __Enabled, __Envs, __ForceDestroy, __ForceDisable, __GrantAllPermissions, __GrantPermissions, __Name)>
impl<__Alias, __EnableTimeout, __Enabled, __Envs, __ForceDestroy, __ForceDisable, __GrantAllPermissions, __GrantPermissions, __Name> PluginArgsBuilder<(__Alias, __EnableTimeout, __Enabled, __Envs, __ForceDestroy, __ForceDisable, __GrantAllPermissions, __GrantPermissions, __Name)>
sourcepub fn build_struct(self) -> PluginArgswhere
__Alias: IntoSet<Option<Output<Option<String>>>, PluginArgsBuilder__alias>,
__EnableTimeout: IntoSet<Option<Output<Option<i32>>>, PluginArgsBuilder__enable_timeout>,
__Enabled: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__enabled>,
__Envs: IntoSet<Option<Output<Option<Vec<String>>>>, PluginArgsBuilder__envs>,
__ForceDestroy: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__force_destroy>,
__ForceDisable: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__force_disable>,
__GrantAllPermissions: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__grant_all_permissions>,
__GrantPermissions: IntoSet<Option<Output<Option<Vec<PluginGrantPermission>>>>, PluginArgsBuilder__grant_permissions>,
__Name: IntoSet<Option<Output<Option<String>>>, PluginArgsBuilder__name>,
pub fn build_struct(self) -> PluginArgswhere
__Alias: IntoSet<Option<Output<Option<String>>>, PluginArgsBuilder__alias>,
__EnableTimeout: IntoSet<Option<Output<Option<i32>>>, PluginArgsBuilder__enable_timeout>,
__Enabled: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__enabled>,
__Envs: IntoSet<Option<Output<Option<Vec<String>>>>, PluginArgsBuilder__envs>,
__ForceDestroy: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__force_destroy>,
__ForceDisable: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__force_disable>,
__GrantAllPermissions: IntoSet<Option<Output<Option<bool>>>, PluginArgsBuilder__grant_all_permissions>,
__GrantPermissions: IntoSet<Option<Output<Option<Vec<PluginGrantPermission>>>>, PluginArgsBuilder__grant_permissions>,
__Name: IntoSet<Option<Output<Option<String>>>, PluginArgsBuilder__name>,
Finishes building and returns the requested object.
sourcepub fn maybe_alias(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Aliaswhere
__Alias: IsUnset,
pub fn maybe_alias(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Aliaswhere
__Alias: IsUnset,
Same as Self::alias
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn alias(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Aliaswhere
__Alias: IsUnset,
pub fn alias(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Aliaswhere
__Alias: IsUnset,
Docker Plugin alias
sourcepub fn maybe_enable_timeout(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::EnableTimeoutwhere
__EnableTimeout: IsUnset,
pub fn maybe_enable_timeout(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::EnableTimeoutwhere
__EnableTimeout: IsUnset,
Same as Self::enable_timeout
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn enable_timeout(
self,
value: impl Into<Output<Option<i32>>>,
) -> <Self as __PluginArgsBuilderSetMember>::EnableTimeoutwhere
__EnableTimeout: IsUnset,
pub fn enable_timeout(
self,
value: impl Into<Output<Option<i32>>>,
) -> <Self as __PluginArgsBuilderSetMember>::EnableTimeoutwhere
__EnableTimeout: IsUnset,
HTTP client timeout to enable the plugin
sourcepub fn maybe_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Enabledwhere
__Enabled: IsUnset,
pub fn maybe_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Enabledwhere
__Enabled: IsUnset,
Same as Self::enabled
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Enabledwhere
__Enabled: IsUnset,
pub fn enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Enabledwhere
__Enabled: IsUnset,
If true
the plugin is enabled. Defaults to true
sourcepub fn maybe_envs(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Envswhere
__Envs: IsUnset,
pub fn maybe_envs(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Envswhere
__Envs: IsUnset,
Same as Self::envs
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn envs(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Envswhere
__Envs: IsUnset,
pub fn envs(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Envswhere
__Envs: IsUnset,
The environment variables in the form of KEY=VALUE
, e.g. DEBUG=0
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDestroywhere
__ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDestroywhere
__ForceDestroy: IsUnset,
Same as Self::force_destroy
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDestroywhere
__ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDestroywhere
__ForceDestroy: IsUnset,
If true, then the plugin is destroyed forcibly
sourcepub fn maybe_force_disable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDisablewhere
__ForceDisable: IsUnset,
pub fn maybe_force_disable(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDisablewhere
__ForceDisable: IsUnset,
Same as Self::force_disable
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn force_disable(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDisablewhere
__ForceDisable: IsUnset,
pub fn force_disable(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::ForceDisablewhere
__ForceDisable: IsUnset,
If true, then the plugin is disabled forcibly
sourcepub fn maybe_grant_all_permissions(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantAllPermissionswhere
__GrantAllPermissions: IsUnset,
pub fn maybe_grant_all_permissions(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantAllPermissionswhere
__GrantAllPermissions: IsUnset,
Same as Self::grant_all_permissions
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn grant_all_permissions(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantAllPermissionswhere
__GrantAllPermissions: IsUnset,
pub fn grant_all_permissions(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantAllPermissionswhere
__GrantAllPermissions: IsUnset,
If true, grant all permissions necessary to run the plugin
sourcepub fn maybe_grant_permissions(
self,
value: Option<impl Into<Output<Option<Vec<PluginGrantPermission>>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantPermissionswhere
__GrantPermissions: IsUnset,
pub fn maybe_grant_permissions(
self,
value: Option<impl Into<Output<Option<Vec<PluginGrantPermission>>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantPermissionswhere
__GrantPermissions: IsUnset,
Same as Self::grant_permissions
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn grant_permissions(
self,
value: impl Into<Output<Option<Vec<PluginGrantPermission>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantPermissionswhere
__GrantPermissions: IsUnset,
pub fn grant_permissions(
self,
value: impl Into<Output<Option<Vec<PluginGrantPermission>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::GrantPermissionswhere
__GrantPermissions: IsUnset,
Grant specific permissions only
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __PluginArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
Same as Self::name
, but accepts an Option
as input. See that method’s documentation for more details.