#[non_exhaustive]pub struct CreateClusterV2InputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterV2Input
.
Implementations§
source§impl CreateClusterV2InputBuilder
impl CreateClusterV2InputBuilder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster.
This field is required.sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the cluster.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of tags that you want the cluster to have.
A map of tags that you want the cluster to have.
A map of tags that you want the cluster to have.
sourcepub fn provisioned(self, input: ProvisionedRequest) -> Self
pub fn provisioned(self, input: ProvisionedRequest) -> Self
Information about the provisioned cluster.
sourcepub fn set_provisioned(self, input: Option<ProvisionedRequest>) -> Self
pub fn set_provisioned(self, input: Option<ProvisionedRequest>) -> Self
Information about the provisioned cluster.
sourcepub fn get_provisioned(&self) -> &Option<ProvisionedRequest>
pub fn get_provisioned(&self) -> &Option<ProvisionedRequest>
Information about the provisioned cluster.
sourcepub fn serverless(self, input: ServerlessRequest) -> Self
pub fn serverless(self, input: ServerlessRequest) -> Self
Information about the serverless cluster.
sourcepub fn set_serverless(self, input: Option<ServerlessRequest>) -> Self
pub fn set_serverless(self, input: Option<ServerlessRequest>) -> Self
Information about the serverless cluster.
sourcepub fn get_serverless(&self) -> &Option<ServerlessRequest>
pub fn get_serverless(&self) -> &Option<ServerlessRequest>
Information about the serverless cluster.
sourcepub fn build(self) -> Result<CreateClusterV2Input, BuildError>
pub fn build(self) -> Result<CreateClusterV2Input, BuildError>
Consumes the builder and constructs a CreateClusterV2Input
.
source§impl CreateClusterV2InputBuilder
impl CreateClusterV2InputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateClusterV2Output, SdkError<CreateClusterV2Error, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateClusterV2Output, SdkError<CreateClusterV2Error, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateClusterV2InputBuilder
impl Clone for CreateClusterV2InputBuilder
source§fn clone(&self) -> CreateClusterV2InputBuilder
fn clone(&self) -> CreateClusterV2InputBuilder
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 CreateClusterV2InputBuilder
impl Debug for CreateClusterV2InputBuilder
source§impl Default for CreateClusterV2InputBuilder
impl Default for CreateClusterV2InputBuilder
source§fn default() -> CreateClusterV2InputBuilder
fn default() -> CreateClusterV2InputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateClusterV2InputBuilder
impl PartialEq for CreateClusterV2InputBuilder
source§fn eq(&self, other: &CreateClusterV2InputBuilder) -> bool
fn eq(&self, other: &CreateClusterV2InputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClusterV2InputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateClusterV2InputBuilder
impl Send for CreateClusterV2InputBuilder
impl Sync for CreateClusterV2InputBuilder
impl Unpin for CreateClusterV2InputBuilder
impl UnwindSafe for CreateClusterV2InputBuilder
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.