pub struct RouterArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouterArgsBuilder<S>
impl<S: State> RouterArgsBuilder<S>
sourcepub fn build_struct(self) -> RouterArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouterArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bgp(
self,
value: impl Into<Output<Option<RouterBgp>>>,
) -> RouterArgsBuilder<SetBgp<S>>where
S::Bgp: IsUnset,
pub fn bgp(
self,
value: impl Into<Output<Option<RouterBgp>>>,
) -> RouterArgsBuilder<SetBgp<S>>where
S::Bgp: IsUnset,
sourcepub fn maybe_bgp(
self,
value: Option<impl Into<Output<Option<RouterBgp>>>>,
) -> RouterArgsBuilder<SetBgp<S>>where
S::Bgp: IsUnset,
pub fn maybe_bgp(
self,
value: Option<impl Into<Output<Option<RouterBgp>>>>,
) -> RouterArgsBuilder<SetBgp<S>>where
S::Bgp: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn encrypted_interconnect_router(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterArgsBuilder<SetEncryptedInterconnectRouter<S>>where
S::EncryptedInterconnectRouter: IsUnset,
pub fn encrypted_interconnect_router(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterArgsBuilder<SetEncryptedInterconnectRouter<S>>where
S::EncryptedInterconnectRouter: IsUnset,
sourcepub fn maybe_encrypted_interconnect_router(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterArgsBuilder<SetEncryptedInterconnectRouter<S>>where
S::EncryptedInterconnectRouter: IsUnset,
pub fn maybe_encrypted_interconnect_router(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterArgsBuilder<SetEncryptedInterconnectRouter<S>>where
S::EncryptedInterconnectRouter: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. 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>>>>,
) -> RouterArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. 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 network(
self,
value: impl Into<Output<String>>,
) -> RouterArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn network(
self,
value: impl Into<Output<String>>,
) -> RouterArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Required.
A reference to the network to which this router belongs.