pub struct TargetInstanceArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> TargetInstanceArgsBuilder<S>
impl<S: State> TargetInstanceArgsBuilder<S>
sourcepub fn build_struct(self) -> TargetInstanceArgswhere
S: IsComplete,
pub fn build_struct(self) -> TargetInstanceArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn instance(
self,
value: impl Into<Output<String>>,
) -> TargetInstanceArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
pub fn instance(
self,
value: impl Into<Output<String>>,
) -> TargetInstanceArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
Required.
The Compute instance VM handling traffic for this target instance.
Accepts the instance self-link, relative path
(e.g. projects/project/zones/zone/instances/instance
) or name. If
name is given, the zone will default to the given zone or
the provider-default zone and the project will default to the
provider-level project.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression a-z?
which means the
first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression a-z?
which means the
first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.