#[non_exhaustive]pub struct CustomArtifactConfigurationBuilder { /* private fields */ }
Expand description
A builder for CustomArtifactConfiguration
.
Implementations§
source§impl CustomArtifactConfigurationBuilder
impl CustomArtifactConfigurationBuilder
sourcepub fn artifact_type(self, input: ArtifactType) -> Self
pub fn artifact_type(self, input: ArtifactType) -> Self
UDF
stands for user-defined functions. This type of artifact must be in an S3 bucket. A DEPENDENCY_JAR
can be in either Maven or an S3 bucket.
sourcepub fn set_artifact_type(self, input: Option<ArtifactType>) -> Self
pub fn set_artifact_type(self, input: Option<ArtifactType>) -> Self
UDF
stands for user-defined functions. This type of artifact must be in an S3 bucket. A DEPENDENCY_JAR
can be in either Maven or an S3 bucket.
sourcepub fn get_artifact_type(&self) -> &Option<ArtifactType>
pub fn get_artifact_type(&self) -> &Option<ArtifactType>
UDF
stands for user-defined functions. This type of artifact must be in an S3 bucket. A DEPENDENCY_JAR
can be in either Maven or an S3 bucket.
sourcepub fn s3_content_location(self, input: S3ContentLocation) -> Self
pub fn s3_content_location(self, input: S3ContentLocation) -> Self
For a Managed Service for Apache Flink application provides a description of an Amazon S3 object, including the Amazon Resource Name (ARN) of the S3 bucket, the name of the Amazon S3 object that contains the data, and the version number of the Amazon S3 object that contains the data.
sourcepub fn set_s3_content_location(self, input: Option<S3ContentLocation>) -> Self
pub fn set_s3_content_location(self, input: Option<S3ContentLocation>) -> Self
For a Managed Service for Apache Flink application provides a description of an Amazon S3 object, including the Amazon Resource Name (ARN) of the S3 bucket, the name of the Amazon S3 object that contains the data, and the version number of the Amazon S3 object that contains the data.
sourcepub fn get_s3_content_location(&self) -> &Option<S3ContentLocation>
pub fn get_s3_content_location(&self) -> &Option<S3ContentLocation>
For a Managed Service for Apache Flink application provides a description of an Amazon S3 object, including the Amazon Resource Name (ARN) of the S3 bucket, the name of the Amazon S3 object that contains the data, and the version number of the Amazon S3 object that contains the data.
sourcepub fn maven_reference(self, input: MavenReference) -> Self
pub fn maven_reference(self, input: MavenReference) -> Self
The parameters required to fully specify a Maven reference.
sourcepub fn set_maven_reference(self, input: Option<MavenReference>) -> Self
pub fn set_maven_reference(self, input: Option<MavenReference>) -> Self
The parameters required to fully specify a Maven reference.
sourcepub fn get_maven_reference(&self) -> &Option<MavenReference>
pub fn get_maven_reference(&self) -> &Option<MavenReference>
The parameters required to fully specify a Maven reference.
sourcepub fn build(self) -> Result<CustomArtifactConfiguration, BuildError>
pub fn build(self) -> Result<CustomArtifactConfiguration, BuildError>
Consumes the builder and constructs a CustomArtifactConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomArtifactConfigurationBuilder
impl Clone for CustomArtifactConfigurationBuilder
source§fn clone(&self) -> CustomArtifactConfigurationBuilder
fn clone(&self) -> CustomArtifactConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CustomArtifactConfigurationBuilder
impl Default for CustomArtifactConfigurationBuilder
source§fn default() -> CustomArtifactConfigurationBuilder
fn default() -> CustomArtifactConfigurationBuilder
source§impl PartialEq for CustomArtifactConfigurationBuilder
impl PartialEq for CustomArtifactConfigurationBuilder
source§fn eq(&self, other: &CustomArtifactConfigurationBuilder) -> bool
fn eq(&self, other: &CustomArtifactConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomArtifactConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CustomArtifactConfigurationBuilder
impl RefUnwindSafe for CustomArtifactConfigurationBuilder
impl Send for CustomArtifactConfigurationBuilder
impl Sync for CustomArtifactConfigurationBuilder
impl Unpin for CustomArtifactConfigurationBuilder
impl UnwindSafe for CustomArtifactConfigurationBuilder
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
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>
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>
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 more