Struct aws_sdk_networkmanager::operation::put_core_network_policy::builders::PutCoreNetworkPolicyFluentBuilder
source · pub struct PutCoreNetworkPolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutCoreNetworkPolicy
.
Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
Implementations§
source§impl PutCoreNetworkPolicyFluentBuilder
impl PutCoreNetworkPolicyFluentBuilder
sourcepub fn as_input(&self) -> &PutCoreNetworkPolicyInputBuilder
pub fn as_input(&self) -> &PutCoreNetworkPolicyInputBuilder
Access the PutCoreNetworkPolicy as a reference.
sourcepub async fn send(
self
) -> Result<PutCoreNetworkPolicyOutput, SdkError<PutCoreNetworkPolicyError, HttpResponse>>
pub async fn send( self ) -> Result<PutCoreNetworkPolicyOutput, SdkError<PutCoreNetworkPolicyError, 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<PutCoreNetworkPolicyOutput, PutCoreNetworkPolicyError, Self>
pub fn customize( self ) -> CustomizableOperation<PutCoreNetworkPolicyOutput, PutCoreNetworkPolicyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for PutCoreNetworkPolicyFluentBuilder
impl Clone for PutCoreNetworkPolicyFluentBuilder
source§fn clone(&self) -> PutCoreNetworkPolicyFluentBuilder
fn clone(&self) -> PutCoreNetworkPolicyFluentBuilder
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 PutCoreNetworkPolicyFluentBuilder
impl !RefUnwindSafe for PutCoreNetworkPolicyFluentBuilder
impl Send for PutCoreNetworkPolicyFluentBuilder
impl Sync for PutCoreNetworkPolicyFluentBuilder
impl Unpin for PutCoreNetworkPolicyFluentBuilder
impl !UnwindSafe for PutCoreNetworkPolicyFluentBuilder
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