Struct aws_sdk_mobile::input::create_project_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateProjectInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> Result<CreateProjectInput, BuildError>
pub fn build(self) -> Result<CreateProjectInput, BuildError>
Consumes the builder and constructs a CreateProjectInput
.