Struct aws_sdk_glue::types::RedshiftSource
source · #[non_exhaustive]pub struct RedshiftSource {
pub name: String,
pub database: String,
pub table: String,
pub redshift_tmp_dir: Option<String>,
pub tmp_dir_iam_role: Option<String>,
}Expand description
Specifies an Amazon Redshift data store.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the Amazon Redshift data store.
database: StringThe database to read from.
table: StringThe database table to read from.
redshift_tmp_dir: Option<String>The Amazon S3 path where temporary data can be staged when copying out of the database.
tmp_dir_iam_role: Option<String>The IAM role with permissions.
Implementations§
source§impl RedshiftSource
impl RedshiftSource
sourcepub fn redshift_tmp_dir(&self) -> Option<&str>
pub fn redshift_tmp_dir(&self) -> Option<&str>
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn tmp_dir_iam_role(&self) -> Option<&str>
pub fn tmp_dir_iam_role(&self) -> Option<&str>
The IAM role with permissions.
source§impl RedshiftSource
impl RedshiftSource
sourcepub fn builder() -> RedshiftSourceBuilder
pub fn builder() -> RedshiftSourceBuilder
Creates a new builder-style object to manufacture RedshiftSource.
Trait Implementations§
source§impl Clone for RedshiftSource
impl Clone for RedshiftSource
source§fn clone(&self) -> RedshiftSource
fn clone(&self) -> RedshiftSource
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 RedshiftSource
impl Debug for RedshiftSource
source§impl PartialEq for RedshiftSource
impl PartialEq for RedshiftSource
source§fn eq(&self, other: &RedshiftSource) -> bool
fn eq(&self, other: &RedshiftSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RedshiftSource
Auto Trait Implementations§
impl Freeze for RedshiftSource
impl RefUnwindSafe for RedshiftSource
impl Send for RedshiftSource
impl Sync for RedshiftSource
impl Unpin for RedshiftSource
impl UnwindSafe for RedshiftSource
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.