pub struct TargetPoolArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> TargetPoolArgsBuilder<S>
impl<S: State> TargetPoolArgsBuilder<S>
sourcepub fn build_struct(self) -> TargetPoolArgswhere
S: IsComplete,
pub fn build_struct(self) -> TargetPoolArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn backup_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetBackupPool<S>>where
S::BackupPool: IsUnset,
pub fn backup_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetBackupPool<S>>where
S::BackupPool: IsUnset,
sourcepub fn maybe_backup_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetBackupPool<S>>where
S::BackupPool: IsUnset,
pub fn maybe_backup_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetBackupPool<S>>where
S::BackupPool: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn failover_ratio(
self,
value: impl Into<Output<Option<f64>>>,
) -> TargetPoolArgsBuilder<SetFailoverRatio<S>>where
S::FailoverRatio: IsUnset,
pub fn failover_ratio(
self,
value: impl Into<Output<Option<f64>>>,
) -> TargetPoolArgsBuilder<SetFailoverRatio<S>>where
S::FailoverRatio: IsUnset,
sourcepub fn maybe_failover_ratio(
self,
value: Option<impl Into<Output<Option<f64>>>>,
) -> TargetPoolArgsBuilder<SetFailoverRatio<S>>where
S::FailoverRatio: IsUnset,
pub fn maybe_failover_ratio(
self,
value: Option<impl Into<Output<Option<f64>>>>,
) -> TargetPoolArgsBuilder<SetFailoverRatio<S>>where
S::FailoverRatio: IsUnset,
sourcepub fn health_checks(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetHealthChecks<S>>where
S::HealthChecks: IsUnset,
pub fn health_checks(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetPoolArgsBuilder<SetHealthChecks<S>>where
S::HealthChecks: IsUnset,
sourcepub fn maybe_health_checks(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetHealthChecks<S>>where
S::HealthChecks: IsUnset,
pub fn maybe_health_checks(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetPoolArgsBuilder<SetHealthChecks<S>>where
S::HealthChecks: IsUnset,
sourcepub fn instances(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetPoolArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
pub fn instances(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetPoolArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
List of instances in the pool. They can be given as URLs, or in the form of “zone/name”. Note that the instances need not exist at the time of target pool creation, so there is no need to use the interpolation to create a dependency on the instances from the target pool.
sourcepub fn maybe_instances(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetPoolArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
pub fn maybe_instances(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetPoolArgsBuilder<SetInstances<S>>where
S::Instances: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
List of instances in the pool. They can be given as URLs, or in the form of “zone/name”. Note that the instances need not exist at the time of target pool creation, so there is no need to use the interpolation to create a dependency on the instances from the target pool.