#[non_exhaustive]pub struct PutClusterPolicyInputBuilder { /* private fields */ }Expand description
A builder for PutClusterPolicyInput.
Implementations§
source§impl PutClusterPolicyInputBuilder
impl PutClusterPolicyInputBuilder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The policy version.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The policy version.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The policy version.
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The policy.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The policy.
sourcepub fn build(self) -> Result<PutClusterPolicyInput, BuildError>
pub fn build(self) -> Result<PutClusterPolicyInput, BuildError>
Consumes the builder and constructs a PutClusterPolicyInput.
source§impl PutClusterPolicyInputBuilder
impl PutClusterPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutClusterPolicyOutput, SdkError<PutClusterPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutClusterPolicyOutput, SdkError<PutClusterPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutClusterPolicyInputBuilder
impl Clone for PutClusterPolicyInputBuilder
source§fn clone(&self) -> PutClusterPolicyInputBuilder
fn clone(&self) -> PutClusterPolicyInputBuilder
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 Debug for PutClusterPolicyInputBuilder
impl Debug for PutClusterPolicyInputBuilder
source§impl Default for PutClusterPolicyInputBuilder
impl Default for PutClusterPolicyInputBuilder
source§fn default() -> PutClusterPolicyInputBuilder
fn default() -> PutClusterPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PutClusterPolicyInputBuilder> for PutClusterPolicyInputBuilder
impl PartialEq<PutClusterPolicyInputBuilder> for PutClusterPolicyInputBuilder
source§fn eq(&self, other: &PutClusterPolicyInputBuilder) -> bool
fn eq(&self, other: &PutClusterPolicyInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutClusterPolicyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutClusterPolicyInputBuilder
impl Send for PutClusterPolicyInputBuilder
impl Sync for PutClusterPolicyInputBuilder
impl Unpin for PutClusterPolicyInputBuilder
impl UnwindSafe for PutClusterPolicyInputBuilder
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