Struct aws_sdk_networkmanager::operation::create_core_network::builders::CreateCoreNetworkInputBuilder
source · #[non_exhaustive]pub struct CreateCoreNetworkInputBuilder { /* private fields */ }
Expand description
A builder for CreateCoreNetworkInput
.
Implementations§
source§impl CreateCoreNetworkInputBuilder
impl CreateCoreNetworkInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateCoreNetworkInput, BuildError>
pub fn build(self) -> Result<CreateCoreNetworkInput, BuildError>
Consumes the builder and constructs a CreateCoreNetworkInput
.
source§impl CreateCoreNetworkInputBuilder
impl CreateCoreNetworkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCoreNetworkOutput, SdkError<CreateCoreNetworkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCoreNetworkOutput, SdkError<CreateCoreNetworkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCoreNetworkInputBuilder
impl Clone for CreateCoreNetworkInputBuilder
source§fn clone(&self) -> CreateCoreNetworkInputBuilder
fn clone(&self) -> CreateCoreNetworkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCoreNetworkInputBuilder
impl Default for CreateCoreNetworkInputBuilder
source§fn default() -> CreateCoreNetworkInputBuilder
fn default() -> CreateCoreNetworkInputBuilder
source§impl PartialEq for CreateCoreNetworkInputBuilder
impl PartialEq for CreateCoreNetworkInputBuilder
source§fn eq(&self, other: &CreateCoreNetworkInputBuilder) -> bool
fn eq(&self, other: &CreateCoreNetworkInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCoreNetworkInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCoreNetworkInputBuilder
impl RefUnwindSafe for CreateCoreNetworkInputBuilder
impl Send for CreateCoreNetworkInputBuilder
impl Sync for CreateCoreNetworkInputBuilder
impl Unpin for CreateCoreNetworkInputBuilder
impl UnwindSafe for CreateCoreNetworkInputBuilder
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