Struct aws_sdk_proton::operation::create_service_instance::builders::CreateServiceInstanceFluentBuilder
source · pub struct CreateServiceInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateServiceInstance
.
Create a service instance.
Implementations§
source§impl CreateServiceInstanceFluentBuilder
impl CreateServiceInstanceFluentBuilder
sourcepub fn as_input(&self) -> &CreateServiceInstanceInputBuilder
pub fn as_input(&self) -> &CreateServiceInstanceInputBuilder
Access the CreateServiceInstance as a reference.
sourcepub async fn send(
self
) -> Result<CreateServiceInstanceOutput, SdkError<CreateServiceInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateServiceInstanceOutput, SdkError<CreateServiceInstanceError, 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<CreateServiceInstanceOutput, CreateServiceInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateServiceInstanceOutput, CreateServiceInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the service instance to create.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the service instance to create.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service the service instance is added to.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service the service instance is added to.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service the service instance is added to.
sourcepub fn spec(self, input: impl Into<String>) -> Self
pub fn spec(self, input: impl Into<String>) -> Self
The spec for the service instance you want to create.
sourcepub fn set_spec(self, input: Option<String>) -> Self
pub fn set_spec(self, input: Option<String>) -> Self
The spec for the service instance you want to create.
sourcepub fn get_spec(&self) -> &Option<String>
pub fn get_spec(&self) -> &Option<String>
The spec for the service instance you want to create.
sourcepub fn template_major_version(self, input: impl Into<String>) -> Self
pub fn template_major_version(self, input: impl Into<String>) -> Self
To create a new major and minor version of the service template, exclude major Version
.
sourcepub fn set_template_major_version(self, input: Option<String>) -> Self
pub fn set_template_major_version(self, input: Option<String>) -> Self
To create a new major and minor version of the service template, exclude major Version
.
sourcepub fn get_template_major_version(&self) -> &Option<String>
pub fn get_template_major_version(&self) -> &Option<String>
To create a new major and minor version of the service template, exclude major Version
.
sourcepub fn template_minor_version(self, input: impl Into<String>) -> Self
pub fn template_minor_version(self, input: impl Into<String>) -> Self
To create a new minor version of the service template, include a major Version
.
sourcepub fn set_template_minor_version(self, input: Option<String>) -> Self
pub fn set_template_minor_version(self, input: Option<String>) -> Self
To create a new minor version of the service template, include a major Version
.
sourcepub fn get_template_minor_version(&self) -> &Option<String>
pub fn get_template_minor_version(&self) -> &Option<String>
To create a new minor version of the service template, include a major Version
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token of the service instance to create.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token of the service instance to create.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token of the service instance to create.
Trait Implementations§
source§impl Clone for CreateServiceInstanceFluentBuilder
impl Clone for CreateServiceInstanceFluentBuilder
source§fn clone(&self) -> CreateServiceInstanceFluentBuilder
fn clone(&self) -> CreateServiceInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more