#[non_exhaustive]pub struct GetArtifactUrlOutputBuilder { /* private fields */ }
Expand description
A builder for GetArtifactUrlOutput
.
Implementations§
source§impl GetArtifactUrlOutputBuilder
impl GetArtifactUrlOutputBuilder
sourcepub fn artifact_id(self, input: impl Into<String>) -> Self
pub fn artifact_id(self, input: impl Into<String>) -> Self
The unique ID for an artifact.
This field is required.sourcepub fn set_artifact_id(self, input: Option<String>) -> Self
pub fn set_artifact_id(self, input: Option<String>) -> Self
The unique ID for an artifact.
sourcepub fn get_artifact_id(&self) -> &Option<String>
pub fn get_artifact_id(&self) -> &Option<String>
The unique ID for an artifact.
sourcepub fn artifact_url(self, input: impl Into<String>) -> Self
pub fn artifact_url(self, input: impl Into<String>) -> Self
The presigned URL for the artifact.
This field is required.sourcepub fn set_artifact_url(self, input: Option<String>) -> Self
pub fn set_artifact_url(self, input: Option<String>) -> Self
The presigned URL for the artifact.
sourcepub fn get_artifact_url(&self) -> &Option<String>
pub fn get_artifact_url(&self) -> &Option<String>
The presigned URL for the artifact.
sourcepub fn build(self) -> Result<GetArtifactUrlOutput, BuildError>
pub fn build(self) -> Result<GetArtifactUrlOutput, BuildError>
Consumes the builder and constructs a GetArtifactUrlOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetArtifactUrlOutputBuilder
impl Clone for GetArtifactUrlOutputBuilder
source§fn clone(&self) -> GetArtifactUrlOutputBuilder
fn clone(&self) -> GetArtifactUrlOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetArtifactUrlOutputBuilder
impl Debug for GetArtifactUrlOutputBuilder
source§impl Default for GetArtifactUrlOutputBuilder
impl Default for GetArtifactUrlOutputBuilder
source§fn default() -> GetArtifactUrlOutputBuilder
fn default() -> GetArtifactUrlOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetArtifactUrlOutputBuilder
impl PartialEq for GetArtifactUrlOutputBuilder
source§fn eq(&self, other: &GetArtifactUrlOutputBuilder) -> bool
fn eq(&self, other: &GetArtifactUrlOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetArtifactUrlOutputBuilder
Auto Trait Implementations§
impl Freeze for GetArtifactUrlOutputBuilder
impl RefUnwindSafe for GetArtifactUrlOutputBuilder
impl Send for GetArtifactUrlOutputBuilder
impl Sync for GetArtifactUrlOutputBuilder
impl Unpin for GetArtifactUrlOutputBuilder
impl UnwindSafe for GetArtifactUrlOutputBuilder
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
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.