pub struct RouterRoutePolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouterRoutePolicyArgsBuilder<S>
impl<S: State> RouterRoutePolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> RouterRoutePolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouterRoutePolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterRoutePolicyArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
pub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterRoutePolicyArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
Required.
The name of the Cloud Router in which this route policy will be configured.
sourcepub fn terms(
self,
value: impl Into<Output<Vec<RouterRoutePolicyTerm>>>,
) -> RouterRoutePolicyArgsBuilder<SetTerms<S>>where
S::Terms: IsUnset,
pub fn terms(
self,
value: impl Into<Output<Vec<RouterRoutePolicyTerm>>>,
) -> RouterRoutePolicyArgsBuilder<SetTerms<S>>where
S::Terms: IsUnset,
Required.
List of terms (the order in the list is not important, they are evaluated in order of priority). Structure is documented below.
sourcepub fn type_(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type_(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterRoutePolicyArgsBuilder<SetType<S>>where
S::Type: IsUnset,
sourcepub fn maybe_type_(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn maybe_type_(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterRoutePolicyArgsBuilder<SetType<S>>where
S::Type: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for RouterRoutePolicyArgsBuilder<S>
impl<S> RefUnwindSafe for RouterRoutePolicyArgsBuilder<S>
impl<S> Send for RouterRoutePolicyArgsBuilder<S>
impl<S> Sync for RouterRoutePolicyArgsBuilder<S>
impl<S> Unpin for RouterRoutePolicyArgsBuilder<S>
impl<S> UnwindSafe for RouterRoutePolicyArgsBuilder<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more