pub struct CreateMeshFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateMesh
.
Creates a service mesh.
A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
For more information about service meshes, see Service meshes.
Implementations§
source§impl CreateMeshFluentBuilder
impl CreateMeshFluentBuilder
sourcepub fn as_input(&self) -> &CreateMeshInputBuilder
pub fn as_input(&self) -> &CreateMeshInputBuilder
Access the CreateMesh as a reference.
sourcepub async fn send(
self
) -> Result<CreateMeshOutput, SdkError<CreateMeshError, HttpResponse>>
pub async fn send( self ) -> Result<CreateMeshOutput, SdkError<CreateMeshError, 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<CreateMeshOutput, CreateMeshError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateMeshOutput, CreateMeshError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_mesh_name(self, input: Option<String>) -> Self
pub fn set_mesh_name(self, input: Option<String>) -> Self
The name to use for the service mesh.
sourcepub fn get_mesh_name(&self) -> &Option<String>
pub fn get_mesh_name(&self) -> &Option<String>
The name to use for the service mesh.
sourcepub fn set_spec(self, input: Option<MeshSpec>) -> Self
pub fn set_spec(self, input: Option<MeshSpec>) -> Self
The service mesh specification to apply.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
Trait Implementations§
source§impl Clone for CreateMeshFluentBuilder
impl Clone for CreateMeshFluentBuilder
source§fn clone(&self) -> CreateMeshFluentBuilder
fn clone(&self) -> CreateMeshFluentBuilder
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 CreateMeshFluentBuilder
impl !RefUnwindSafe for CreateMeshFluentBuilder
impl Send for CreateMeshFluentBuilder
impl Sync for CreateMeshFluentBuilder
impl Unpin for CreateMeshFluentBuilder
impl !UnwindSafe for CreateMeshFluentBuilder
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