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 ListWorkloads
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 ListWorkloads
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 ListWorkloads
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. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern
operation.
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. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern
operation.
sourcepub fn get_specifications(&self) -> &Option<HashMap<String, String>>
pub fn get_specifications(&self) -> &Option<HashMap<String, String>>
The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the GetWorkloadDeploymentPattern
operation.
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
.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags to add to the deployment.
The tags to add to the deployment.
The tags to add to the deployment.
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 ==
.impl StructuralPartialEq for CreateDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDeploymentInputBuilder
impl RefUnwindSafe for CreateDeploymentInputBuilder
impl Send for CreateDeploymentInputBuilder
impl Sync for CreateDeploymentInputBuilder
impl Unpin for CreateDeploymentInputBuilder
impl UnwindSafe for CreateDeploymentInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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