#[non_exhaustive]pub struct AwsCodeBuildProjectArtifactsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsCodeBuildProjectArtifactsDetails
.
Implementations§
source§impl AwsCodeBuildProjectArtifactsDetailsBuilder
impl AwsCodeBuildProjectArtifactsDetailsBuilder
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 get_artifact_identifier(&self) -> &Option<String>
pub fn get_artifact_identifier(&self) -> &Option<String>
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 get_encryption_disabled(&self) -> &Option<bool>
pub fn get_encryption_disabled(&self) -> &Option<bool>
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 get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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 get_namespace_type(&self) -> &Option<String>
pub fn get_namespace_type(&self) -> &Option<String>
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 get_override_artifact_name(&self) -> &Option<bool>
pub fn get_override_artifact_name(&self) -> &Option<bool>
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 get_packaging(&self) -> &Option<String>
pub fn get_packaging(&self) -> &Option<String>
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 get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
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§
source§impl Clone for AwsCodeBuildProjectArtifactsDetailsBuilder
impl Clone for AwsCodeBuildProjectArtifactsDetailsBuilder
source§fn clone(&self) -> AwsCodeBuildProjectArtifactsDetailsBuilder
fn clone(&self) -> AwsCodeBuildProjectArtifactsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCodeBuildProjectArtifactsDetailsBuilder
impl Default for AwsCodeBuildProjectArtifactsDetailsBuilder
source§fn default() -> AwsCodeBuildProjectArtifactsDetailsBuilder
fn default() -> AwsCodeBuildProjectArtifactsDetailsBuilder
source§impl PartialEq for AwsCodeBuildProjectArtifactsDetailsBuilder
impl PartialEq for AwsCodeBuildProjectArtifactsDetailsBuilder
source§fn eq(&self, other: &AwsCodeBuildProjectArtifactsDetailsBuilder) -> bool
fn eq(&self, other: &AwsCodeBuildProjectArtifactsDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.