#[non_exhaustive]pub struct CreateProjectInputBuilder { /* private fields */ }
Expand description
A builder for CreateProjectInput
.
Implementations§
source§impl CreateProjectInputBuilder
impl CreateProjectInputBuilder
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.
sourcepub fn build(self) -> Result<CreateProjectInput, BuildError>
pub fn build(self) -> Result<CreateProjectInput, BuildError>
Consumes the builder and constructs a CreateProjectInput
.
source§impl CreateProjectInputBuilder
impl CreateProjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateProjectOutput, SdkError<CreateProjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateProjectOutput, SdkError<CreateProjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProjectInputBuilder
impl Clone for CreateProjectInputBuilder
source§fn clone(&self) -> CreateProjectInputBuilder
fn clone(&self) -> CreateProjectInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProjectInputBuilder
impl Debug for CreateProjectInputBuilder
source§impl Default for CreateProjectInputBuilder
impl Default for CreateProjectInputBuilder
source§fn default() -> CreateProjectInputBuilder
fn default() -> CreateProjectInputBuilder
source§impl PartialEq for CreateProjectInputBuilder
impl PartialEq for CreateProjectInputBuilder
source§fn eq(&self, other: &CreateProjectInputBuilder) -> bool
fn eq(&self, other: &CreateProjectInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.