Struct aws_sdk_amplify::operation::create_deployment::builders::CreateDeploymentOutputBuilder
source · #[non_exhaustive]pub struct CreateDeploymentOutputBuilder { /* private fields */ }Expand description
A builder for CreateDeploymentOutput.
Implementations§
source§impl CreateDeploymentOutputBuilder
impl CreateDeploymentOutputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID for this deployment. will supply to start deployment api.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID for this deployment. will supply to start deployment api.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID for this deployment. will supply to start deployment api.
sourcepub fn file_upload_urls(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn file_upload_urls( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to file_upload_urls.
To override the contents of this collection use set_file_upload_urls.
When the fileMap argument is provided in the request, fileUploadUrls will contain a map of file names to upload URLs.
sourcepub fn set_file_upload_urls(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_file_upload_urls( self, input: Option<HashMap<String, String>>, ) -> Self
When the fileMap argument is provided in the request, fileUploadUrls will contain a map of file names to upload URLs.
sourcepub fn get_file_upload_urls(&self) -> &Option<HashMap<String, String>>
pub fn get_file_upload_urls(&self) -> &Option<HashMap<String, String>>
When the fileMap argument is provided in the request, fileUploadUrls will contain a map of file names to upload URLs.
sourcepub fn zip_upload_url(self, input: impl Into<String>) -> Self
pub fn zip_upload_url(self, input: impl Into<String>) -> Self
When the fileMap argument is not provided in the request, this zipUploadUrl is returned.
sourcepub fn set_zip_upload_url(self, input: Option<String>) -> Self
pub fn set_zip_upload_url(self, input: Option<String>) -> Self
When the fileMap argument is not provided in the request, this zipUploadUrl is returned.
sourcepub fn get_zip_upload_url(&self) -> &Option<String>
pub fn get_zip_upload_url(&self) -> &Option<String>
When the fileMap argument is not provided in the request, this zipUploadUrl is returned.
sourcepub fn build(self) -> Result<CreateDeploymentOutput, BuildError>
pub fn build(self) -> Result<CreateDeploymentOutput, BuildError>
Consumes the builder and constructs a CreateDeploymentOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateDeploymentOutputBuilder
impl Clone for CreateDeploymentOutputBuilder
source§fn clone(&self) -> CreateDeploymentOutputBuilder
fn clone(&self) -> CreateDeploymentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDeploymentOutputBuilder
impl Default for CreateDeploymentOutputBuilder
source§fn default() -> CreateDeploymentOutputBuilder
fn default() -> CreateDeploymentOutputBuilder
source§impl PartialEq for CreateDeploymentOutputBuilder
impl PartialEq for CreateDeploymentOutputBuilder
source§fn eq(&self, other: &CreateDeploymentOutputBuilder) -> bool
fn eq(&self, other: &CreateDeploymentOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDeploymentOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateDeploymentOutputBuilder
impl RefUnwindSafe for CreateDeploymentOutputBuilder
impl Send for CreateDeploymentOutputBuilder
impl Sync for CreateDeploymentOutputBuilder
impl Unpin for CreateDeploymentOutputBuilder
impl UnwindSafe for CreateDeploymentOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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