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
source§fn eq(&self, other: &RedshiftSourceBuilder) -> bool
fn eq(&self, other: &RedshiftSourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RedshiftSourceBuilder
Auto Trait Implementations§
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> 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>
Creates a shared type from an unshared type.