Struct aws_sdk_launchwizard::operation::create_deployment::builders::CreateDeploymentInputBuilder
source · #[non_exhaustive]pub struct CreateDeploymentInputBuilder { /* private fields */ }
Expand description
A builder for CreateDeploymentInput
.
Implementations§
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub fn workload_name(self, input: impl Into<String>) -> Self
pub fn workload_name(self, input: impl Into<String>) -> Self
The name of the workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn set_workload_name(self, input: Option<String>) -> Self
pub fn set_workload_name(self, input: Option<String>) -> Self
The name of the workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn get_workload_name(&self) -> &Option<String>
pub fn get_workload_name(&self) -> &Option<String>
The name of the workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn deployment_pattern_name(self, input: impl Into<String>) -> Self
pub fn deployment_pattern_name(self, input: impl Into<String>) -> Self
The name of the deployment pattern supported by a given workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn set_deployment_pattern_name(self, input: Option<String>) -> Self
pub fn set_deployment_pattern_name(self, input: Option<String>) -> Self
The name of the deployment pattern supported by a given workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn get_deployment_pattern_name(&self) -> &Option<String>
pub fn get_deployment_pattern_name(&self) -> &Option<String>
The name of the deployment pattern supported by a given workload. You can use the ListWorkloadDeploymentPatterns
operation to discover supported values for this parameter.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the deployment.
This field is required.sourcepub fn specifications(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn specifications(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to specifications
.
To override the contents of this collection use set_specifications
.
The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.
sourcepub fn set_specifications(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_specifications(self, input: Option<HashMap<String, String>>) -> Self
The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.
sourcepub fn get_specifications(&self) -> &Option<HashMap<String, String>>
pub fn get_specifications(&self) -> &Option<HashMap<String, String>>
The settings specified for the deployment. For more information on the specifications required for creating a deployment, see Workload specifications.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn build(self) -> Result<CreateDeploymentInput, BuildError>
pub fn build(self) -> Result<CreateDeploymentInput, BuildError>
Consumes the builder and constructs a CreateDeploymentInput
.
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDeploymentInputBuilder
impl Clone for CreateDeploymentInputBuilder
source§fn clone(&self) -> CreateDeploymentInputBuilder
fn clone(&self) -> CreateDeploymentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDeploymentInputBuilder
impl Debug for CreateDeploymentInputBuilder
source§impl Default for CreateDeploymentInputBuilder
impl Default for CreateDeploymentInputBuilder
source§fn default() -> CreateDeploymentInputBuilder
fn default() -> CreateDeploymentInputBuilder
source§impl PartialEq for CreateDeploymentInputBuilder
impl PartialEq for CreateDeploymentInputBuilder
source§fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.