pub struct ExternalVpnGatewayArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ExternalVpnGatewayArgsBuilder<S>
impl<S: State> ExternalVpnGatewayArgsBuilder<S>
sourcepub fn build_struct(self) -> ExternalVpnGatewayArgswhere
S: IsComplete,
pub fn build_struct(self) -> ExternalVpnGatewayArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> ExternalVpnGatewayArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> ExternalVpnGatewayArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn interfaces(
self,
value: impl Into<Output<Option<Vec<ExternalVpnGatewayInterface>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetInterfaces<S>>where
S::Interfaces: IsUnset,
pub fn interfaces(
self,
value: impl Into<Output<Option<Vec<ExternalVpnGatewayInterface>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetInterfaces<S>>where
S::Interfaces: IsUnset,
sourcepub fn maybe_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<ExternalVpnGatewayInterface>>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetInterfaces<S>>where
S::Interfaces: IsUnset,
pub fn maybe_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<ExternalVpnGatewayInterface>>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetInterfaces<S>>where
S::Interfaces: IsUnset,
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Labels for the external VPN gateway resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labels
for all of the labels present on the resource.
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Labels for the external VPN gateway resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labels
for all of the labels present on the resource.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ExternalVpnGatewayArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ExternalVpnGatewayArgsBuilder<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>>>>,
) -> ExternalVpnGatewayArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ExternalVpnGatewayArgsBuilder<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.