pub struct CreateProjectRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CreateProjectRequestBuilder<S>
impl<S: State> CreateProjectRequestBuilder<S>
Sourcepub fn build(self) -> CreateProjectRequestwhere
S: IsComplete,
pub fn build(self) -> CreateProjectRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(self, value: String) -> CreateProjectRequestBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> CreateProjectRequestBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Sourcepub fn source(
self,
value: ProjectSource,
) -> CreateProjectRequestBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn source(
self,
value: ProjectSource,
) -> CreateProjectRequestBuilder<SetSource<S>>where
S::Source: IsUnset,
Required.
Sourcepub fn artifacts(
self,
value: ProjectArtifacts,
) -> CreateProjectRequestBuilder<SetArtifacts<S>>where
S::Artifacts: IsUnset,
pub fn artifacts(
self,
value: ProjectArtifacts,
) -> CreateProjectRequestBuilder<SetArtifacts<S>>where
S::Artifacts: IsUnset,
Required.
Sourcepub fn environment(
self,
value: ProjectEnvironment,
) -> CreateProjectRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
pub fn environment(
self,
value: ProjectEnvironment,
) -> CreateProjectRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
Required.
Sourcepub fn service_role(
self,
value: String,
) -> CreateProjectRequestBuilder<SetServiceRole<S>>where
S::ServiceRole: IsUnset,
pub fn service_role(
self,
value: String,
) -> CreateProjectRequestBuilder<SetServiceRole<S>>where
S::ServiceRole: IsUnset,
Required.
Sourcepub fn description(
self,
value: String,
) -> CreateProjectRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: String,
) -> CreateProjectRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<String>,
) -> CreateProjectRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<String>,
) -> CreateProjectRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn logs_config(
self,
value: LogsConfig,
) -> CreateProjectRequestBuilder<SetLogsConfig<S>>where
S::LogsConfig: IsUnset,
pub fn logs_config(
self,
value: LogsConfig,
) -> CreateProjectRequestBuilder<SetLogsConfig<S>>where
S::LogsConfig: IsUnset,
Sourcepub fn maybe_logs_config(
self,
value: Option<LogsConfig>,
) -> CreateProjectRequestBuilder<SetLogsConfig<S>>where
S::LogsConfig: IsUnset,
pub fn maybe_logs_config(
self,
value: Option<LogsConfig>,
) -> CreateProjectRequestBuilder<SetLogsConfig<S>>where
S::LogsConfig: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CreateProjectRequestBuilder<S>
impl<S> RefUnwindSafe for CreateProjectRequestBuilder<S>
impl<S> Send for CreateProjectRequestBuilder<S>
impl<S> Sync for CreateProjectRequestBuilder<S>
impl<S> Unpin for CreateProjectRequestBuilder<S>
impl<S> UnsafeUnpin for CreateProjectRequestBuilder<S>
impl<S> UnwindSafe for CreateProjectRequestBuilder<S>
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.