pub struct CreateProjectFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProject
.
Creates an AWS Mobile Hub project.
Implementations§
source§impl CreateProjectFluentBuilder
impl CreateProjectFluentBuilder
sourcepub fn as_input(&self) -> &CreateProjectInputBuilder
pub fn as_input(&self) -> &CreateProjectInputBuilder
Access the CreateProject as a reference.
sourcepub async fn send(
self
) -> Result<CreateProjectOutput, SdkError<CreateProjectError, HttpResponse>>
pub async fn send( self ) -> Result<CreateProjectOutput, SdkError<CreateProjectError, 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<CreateProjectOutput, CreateProjectError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateProjectOutput, CreateProjectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Default region where project resources should be created.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Default region where project resources should be created.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Default region where project resources should be created.
sourcepub fn contents(self, input: Blob) -> Self
pub fn contents(self, input: Blob) -> Self
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn set_contents(self, input: Option<Blob>) -> Self
pub fn set_contents(self, input: Option<Blob>) -> Self
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn get_contents(&self) -> &Option<Blob>
pub fn get_contents(&self) -> &Option<Blob>
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
Trait Implementations§
source§impl Clone for CreateProjectFluentBuilder
impl Clone for CreateProjectFluentBuilder
source§fn clone(&self) -> CreateProjectFluentBuilder
fn clone(&self) -> CreateProjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more