Struct aws_sdk_codepipeline::model::artifact_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ArtifactLocation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: ArtifactLocationType) -> Self
pub fn type(self, input: ArtifactLocationType) -> Self
The type of artifact in the location.
sourcepub fn set_type(self, input: Option<ArtifactLocationType>) -> Self
pub fn set_type(self, input: Option<ArtifactLocationType>) -> Self
The type of artifact in the location.
sourcepub fn s3_location(self, input: S3ArtifactLocation) -> Self
pub fn s3_location(self, input: S3ArtifactLocation) -> Self
The S3 bucket that contains the artifact.
sourcepub fn set_s3_location(self, input: Option<S3ArtifactLocation>) -> Self
pub fn set_s3_location(self, input: Option<S3ArtifactLocation>) -> Self
The S3 bucket that contains the artifact.
sourcepub fn build(self) -> ArtifactLocation
pub fn build(self) -> ArtifactLocation
Consumes the builder and constructs a ArtifactLocation
.