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 ==
.