Struct aws_sdk_networkmanager::operation::create_core_network::builders::CreateCoreNetworkFluentBuilder
source · pub struct CreateCoreNetworkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCoreNetwork
.
Creates a core network as part of your global network, and optionally, with a core network policy.
Implementations§
source§impl CreateCoreNetworkFluentBuilder
impl CreateCoreNetworkFluentBuilder
sourcepub fn as_input(&self) -> &CreateCoreNetworkInputBuilder
pub fn as_input(&self) -> &CreateCoreNetworkInputBuilder
Access the CreateCoreNetwork as a reference.
sourcepub async fn send(
self
) -> Result<CreateCoreNetworkOutput, SdkError<CreateCoreNetworkError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCoreNetworkOutput, SdkError<CreateCoreNetworkError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateCoreNetworkOutput, CreateCoreNetworkError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCoreNetworkOutput, CreateCoreNetworkError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network that a core network will be a part of.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network that a core network will be a part of.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network that a core network will be a part of.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of a core network.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of a core network.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of a core network.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Key-value tags associated with a core network request.
Key-value tags associated with a core network request.
Key-value tags associated with a core network request.
sourcepub fn policy_document(self, input: impl Into<String>) -> Self
pub fn policy_document(self, input: impl Into<String>) -> Self
The policy document for creating a core network.
sourcepub fn set_policy_document(self, input: Option<String>) -> Self
pub fn set_policy_document(self, input: Option<String>) -> Self
The policy document for creating a core network.
sourcepub fn get_policy_document(&self) -> &Option<String>
pub fn get_policy_document(&self) -> &Option<String>
The policy document for creating a core network.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with a core network request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with a core network request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with a core network request.
Trait Implementations§
source§impl Clone for CreateCoreNetworkFluentBuilder
impl Clone for CreateCoreNetworkFluentBuilder
source§fn clone(&self) -> CreateCoreNetworkFluentBuilder
fn clone(&self) -> CreateCoreNetworkFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateCoreNetworkFluentBuilder
impl !RefUnwindSafe for CreateCoreNetworkFluentBuilder
impl Send for CreateCoreNetworkFluentBuilder
impl Sync for CreateCoreNetworkFluentBuilder
impl Unpin for CreateCoreNetworkFluentBuilder
impl !UnwindSafe for CreateCoreNetworkFluentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more