Struct aws_sdk_networkmanager::operation::put_core_network_policy::builders::PutCoreNetworkPolicyInputBuilder
source · #[non_exhaustive]pub struct PutCoreNetworkPolicyInputBuilder { /* private fields */ }
Expand description
A builder for PutCoreNetworkPolicyInput
.
Implementations§
source§impl PutCoreNetworkPolicyInputBuilder
impl PutCoreNetworkPolicyInputBuilder
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network.
This field is required.sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network.
sourcepub fn policy_document(self, input: impl Into<String>) -> Self
pub fn policy_document(self, input: impl Into<String>) -> Self
The policy document.
This field is required.sourcepub fn set_policy_document(self, input: Option<String>) -> Self
pub fn set_policy_document(self, input: Option<String>) -> Self
The policy document.
sourcepub fn get_policy_document(&self) -> &Option<String>
pub fn get_policy_document(&self) -> &Option<String>
The policy document.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
a core network policy description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
a core network policy description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
a core network policy description.
sourcepub fn latest_version_id(self, input: i32) -> Self
pub fn latest_version_id(self, input: i32) -> Self
The ID of a core network policy.
sourcepub fn set_latest_version_id(self, input: Option<i32>) -> Self
pub fn set_latest_version_id(self, input: Option<i32>) -> Self
The ID of a core network policy.
sourcepub fn get_latest_version_id(&self) -> &Option<i32>
pub fn get_latest_version_id(&self) -> &Option<i32>
The ID of a core network policy.
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 the 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 the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with the request.
sourcepub fn build(self) -> Result<PutCoreNetworkPolicyInput, BuildError>
pub fn build(self) -> Result<PutCoreNetworkPolicyInput, BuildError>
Consumes the builder and constructs a PutCoreNetworkPolicyInput
.
source§impl PutCoreNetworkPolicyInputBuilder
impl PutCoreNetworkPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutCoreNetworkPolicyOutput, SdkError<PutCoreNetworkPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutCoreNetworkPolicyOutput, SdkError<PutCoreNetworkPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutCoreNetworkPolicyInputBuilder
impl Clone for PutCoreNetworkPolicyInputBuilder
source§fn clone(&self) -> PutCoreNetworkPolicyInputBuilder
fn clone(&self) -> PutCoreNetworkPolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PutCoreNetworkPolicyInputBuilder
impl Default for PutCoreNetworkPolicyInputBuilder
source§fn default() -> PutCoreNetworkPolicyInputBuilder
fn default() -> PutCoreNetworkPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutCoreNetworkPolicyInputBuilder
impl PartialEq for PutCoreNetworkPolicyInputBuilder
source§fn eq(&self, other: &PutCoreNetworkPolicyInputBuilder) -> bool
fn eq(&self, other: &PutCoreNetworkPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutCoreNetworkPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for PutCoreNetworkPolicyInputBuilder
impl RefUnwindSafe for PutCoreNetworkPolicyInputBuilder
impl Send for PutCoreNetworkPolicyInputBuilder
impl Sync for PutCoreNetworkPolicyInputBuilder
impl Unpin for PutCoreNetworkPolicyInputBuilder
impl UnwindSafe for PutCoreNetworkPolicyInputBuilder
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
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>
Creates a shared type from an unshared type.