pub struct ProjectArtifactsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ProjectArtifactsBuilder<S>
impl<S: State> ProjectArtifactsBuilder<S>
Sourcepub fn build(self) -> ProjectArtifactswhere
S: IsComplete,
pub fn build(self) -> ProjectArtifactswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn type(self, value: String) -> ProjectArtifactsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type(self, value: String) -> ProjectArtifactsBuilder<SetType<S>>where
S::Type: IsUnset,
Required.
Sourcepub fn location(self, value: String) -> ProjectArtifactsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(self, value: String) -> ProjectArtifactsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn maybe_location(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn path(self, value: String) -> ProjectArtifactsBuilder<SetPath<S>>where
S::Path: IsUnset,
pub fn path(self, value: String) -> ProjectArtifactsBuilder<SetPath<S>>where
S::Path: IsUnset,
Sourcepub fn maybe_path(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetPath<S>>where
S::Path: IsUnset,
pub fn maybe_path(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetPath<S>>where
S::Path: IsUnset,
Sourcepub fn namespace_type(
self,
value: String,
) -> ProjectArtifactsBuilder<SetNamespaceType<S>>where
S::NamespaceType: IsUnset,
pub fn namespace_type(
self,
value: String,
) -> ProjectArtifactsBuilder<SetNamespaceType<S>>where
S::NamespaceType: IsUnset,
Sourcepub fn maybe_namespace_type(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetNamespaceType<S>>where
S::NamespaceType: IsUnset,
pub fn maybe_namespace_type(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetNamespaceType<S>>where
S::NamespaceType: IsUnset,
Sourcepub fn name(self, value: String) -> ProjectArtifactsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> ProjectArtifactsBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn maybe_name(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn packaging(
self,
value: String,
) -> ProjectArtifactsBuilder<SetPackaging<S>>where
S::Packaging: IsUnset,
pub fn packaging(
self,
value: String,
) -> ProjectArtifactsBuilder<SetPackaging<S>>where
S::Packaging: IsUnset,
Sourcepub fn maybe_packaging(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetPackaging<S>>where
S::Packaging: IsUnset,
pub fn maybe_packaging(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetPackaging<S>>where
S::Packaging: IsUnset,
Sourcepub fn encryption_disabled(
self,
value: bool,
) -> ProjectArtifactsBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
pub fn encryption_disabled(
self,
value: bool,
) -> ProjectArtifactsBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
Sourcepub fn maybe_encryption_disabled(
self,
value: Option<bool>,
) -> ProjectArtifactsBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
pub fn maybe_encryption_disabled(
self,
value: Option<bool>,
) -> ProjectArtifactsBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
Sourcepub fn artifact_identifier(
self,
value: String,
) -> ProjectArtifactsBuilder<SetArtifactIdentifier<S>>where
S::ArtifactIdentifier: IsUnset,
pub fn artifact_identifier(
self,
value: String,
) -> ProjectArtifactsBuilder<SetArtifactIdentifier<S>>where
S::ArtifactIdentifier: IsUnset,
Sourcepub fn maybe_artifact_identifier(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetArtifactIdentifier<S>>where
S::ArtifactIdentifier: IsUnset,
pub fn maybe_artifact_identifier(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetArtifactIdentifier<S>>where
S::ArtifactIdentifier: IsUnset,
Sourcepub fn bucket_owner_access(
self,
value: String,
) -> ProjectArtifactsBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
pub fn bucket_owner_access(
self,
value: String,
) -> ProjectArtifactsBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
Sourcepub fn maybe_bucket_owner_access(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
pub fn maybe_bucket_owner_access(
self,
value: Option<String>,
) -> ProjectArtifactsBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ProjectArtifactsBuilder<S>
impl<S> RefUnwindSafe for ProjectArtifactsBuilder<S>
impl<S> Send for ProjectArtifactsBuilder<S>
impl<S> Sync for ProjectArtifactsBuilder<S>
impl<S> Unpin for ProjectArtifactsBuilder<S>
impl<S> UnsafeUnpin for ProjectArtifactsBuilder<S>
impl<S> UnwindSafe for ProjectArtifactsBuilder<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.