Struct aws_sdk_glue::types::builders::RedshiftSourceBuilder
source · #[non_exhaustive]pub struct RedshiftSourceBuilder { /* private fields */ }Expand description
A builder for RedshiftSource.
Implementations§
source§impl RedshiftSourceBuilder
impl RedshiftSourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon Redshift data store.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon Redshift data store.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The database to read from.
This field is required.sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The database to read from.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The database to read from.
sourcepub fn table(self, input: impl Into<String>) -> Self
pub fn table(self, input: impl Into<String>) -> Self
The database table to read from.
This field is required.sourcepub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
pub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
pub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn get_redshift_tmp_dir(&self) -> &Option<String>
pub fn get_redshift_tmp_dir(&self) -> &Option<String>
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn tmp_dir_iam_role(self, input: impl Into<String>) -> Self
pub fn tmp_dir_iam_role(self, input: impl Into<String>) -> Self
The IAM role with permissions.
sourcepub fn set_tmp_dir_iam_role(self, input: Option<String>) -> Self
pub fn set_tmp_dir_iam_role(self, input: Option<String>) -> Self
The IAM role with permissions.
sourcepub fn get_tmp_dir_iam_role(&self) -> &Option<String>
pub fn get_tmp_dir_iam_role(&self) -> &Option<String>
The IAM role with permissions.
sourcepub fn build(self) -> Result<RedshiftSource, BuildError>
pub fn build(self) -> Result<RedshiftSource, BuildError>
Consumes the builder and constructs a RedshiftSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RedshiftSourceBuilder
impl Clone for RedshiftSourceBuilder
source§fn clone(&self) -> RedshiftSourceBuilder
fn clone(&self) -> RedshiftSourceBuilder
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 RedshiftSourceBuilder
impl Debug for RedshiftSourceBuilder
source§impl Default for RedshiftSourceBuilder
impl Default for RedshiftSourceBuilder
source§fn default() -> RedshiftSourceBuilder
fn default() -> RedshiftSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RedshiftSourceBuilder
impl PartialEq for RedshiftSourceBuilder
impl StructuralPartialEq for RedshiftSourceBuilder
Auto Trait Implementations§
impl Freeze for RedshiftSourceBuilder
impl RefUnwindSafe for RedshiftSourceBuilder
impl Send for RedshiftSourceBuilder
impl Sync for RedshiftSourceBuilder
impl Unpin for RedshiftSourceBuilder
impl UnwindSafe for RedshiftSourceBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.