pub struct Builder { /* private fields */ }Expand description
A builder for AwsCodeBuildProjectArtifactsDetails.
Implementations§
source§impl 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.