pub struct Builder { /* private fields */ }
Expand description
A builder for AwsCodeBuildProjectArtifactsDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn artifact_identifier(self, input: impl Into<String>) -> Self
pub fn artifact_identifier(self, input: impl Into<String>) -> Self
An identifier for the artifact definition.
sourcepub fn set_artifact_identifier(self, input: Option<String>) -> Self
pub fn set_artifact_identifier(self, input: Option<String>) -> Self
An identifier for the artifact definition.
sourcepub fn encryption_disabled(self, input: bool) -> Self
pub fn encryption_disabled(self, input: bool) -> Self
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
sourcepub fn set_encryption_disabled(self, input: Option<bool>) -> Self
pub fn set_encryption_disabled(self, input: Option<bool>) -> Self
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
Only used when Type
is S3
. The name of the S3 bucket where the artifact is located.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
Only used when Type
is S3
. The name of the S3 bucket where the artifact is located.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Only used when Type is S3. The name of the artifact. Used with NamepaceType
and Path
to determine the pattern for storing the artifact.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Only used when Type is S3. The name of the artifact. Used with NamepaceType
and Path
to determine the pattern for storing the artifact.
sourcepub fn namespace_type(self, input: impl Into<String>) -> Self
pub fn namespace_type(self, input: impl Into<String>) -> Self
Only used when Type
is S3
. The value to use for the namespace. Used with Name
and Path
to determine the pattern for storing the artifact.
sourcepub fn set_namespace_type(self, input: Option<String>) -> Self
pub fn set_namespace_type(self, input: Option<String>) -> Self
Only used when Type
is S3
. The value to use for the namespace. Used with Name
and Path
to determine the pattern for storing the artifact.
sourcepub fn override_artifact_name(self, input: bool) -> Self
pub fn override_artifact_name(self, input: bool) -> Self
Whether the name specified in the buildspec file overrides the artifact name.
sourcepub fn set_override_artifact_name(self, input: Option<bool>) -> Self
pub fn set_override_artifact_name(self, input: Option<bool>) -> Self
Whether the name specified in the buildspec file overrides the artifact name.
sourcepub fn packaging(self, input: impl Into<String>) -> Self
pub fn packaging(self, input: impl Into<String>) -> Self
Only used when Type
is S3
. The type of output artifact to create.
sourcepub fn set_packaging(self, input: Option<String>) -> Self
pub fn set_packaging(self, input: Option<String>) -> Self
Only used when Type
is S3
. The type of output artifact to create.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
Only used when Type
is S3
. The path to the artifact. Used with Name
and NamespaceType
to determine the pattern for storing the artifact.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
Only used when Type
is S3
. The path to the artifact. Used with Name
and NamespaceType
to determine the pattern for storing the artifact.
sourcepub fn build(self) -> AwsCodeBuildProjectArtifactsDetails
pub fn build(self) -> AwsCodeBuildProjectArtifactsDetails
Consumes the builder and constructs a AwsCodeBuildProjectArtifactsDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more