Struct aws_sdk_glue::types::builders::ViewDefinitionBuilder
source · #[non_exhaustive]pub struct ViewDefinitionBuilder { /* private fields */ }Expand description
A builder for ViewDefinition.
Implementations§
source§impl ViewDefinitionBuilder
impl ViewDefinitionBuilder
sourcepub fn is_protected(self, input: bool) -> Self
pub fn is_protected(self, input: bool) -> Self
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
sourcepub fn set_is_protected(self, input: Option<bool>) -> Self
pub fn set_is_protected(self, input: Option<bool>) -> Self
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
sourcepub fn get_is_protected(&self) -> &Option<bool>
pub fn get_is_protected(&self) -> &Option<bool>
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
sourcepub fn set_definer(self, input: Option<String>) -> Self
pub fn set_definer(self, input: Option<String>) -> Self
The definer of a view in SQL.
sourcepub fn get_definer(&self) -> &Option<String>
pub fn get_definer(&self) -> &Option<String>
The definer of a view in SQL.
sourcepub fn sub_objects(self, input: impl Into<String>) -> Self
pub fn sub_objects(self, input: impl Into<String>) -> Self
Appends an item to sub_objects.
To override the contents of this collection use set_sub_objects.
A list of table Amazon Resource Names (ARNs).
sourcepub fn set_sub_objects(self, input: Option<Vec<String>>) -> Self
pub fn set_sub_objects(self, input: Option<Vec<String>>) -> Self
A list of table Amazon Resource Names (ARNs).
sourcepub fn get_sub_objects(&self) -> &Option<Vec<String>>
pub fn get_sub_objects(&self) -> &Option<Vec<String>>
A list of table Amazon Resource Names (ARNs).
sourcepub fn representations(self, input: ViewRepresentation) -> Self
pub fn representations(self, input: ViewRepresentation) -> Self
Appends an item to representations.
To override the contents of this collection use set_representations.
A list of representations.
sourcepub fn set_representations(self, input: Option<Vec<ViewRepresentation>>) -> Self
pub fn set_representations(self, input: Option<Vec<ViewRepresentation>>) -> Self
A list of representations.
sourcepub fn get_representations(&self) -> &Option<Vec<ViewRepresentation>>
pub fn get_representations(&self) -> &Option<Vec<ViewRepresentation>>
A list of representations.
sourcepub fn build(self) -> ViewDefinition
pub fn build(self) -> ViewDefinition
Consumes the builder and constructs a ViewDefinition.
Trait Implementations§
source§impl Clone for ViewDefinitionBuilder
impl Clone for ViewDefinitionBuilder
source§fn clone(&self) -> ViewDefinitionBuilder
fn clone(&self) -> ViewDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ViewDefinitionBuilder
impl Debug for ViewDefinitionBuilder
source§impl Default for ViewDefinitionBuilder
impl Default for ViewDefinitionBuilder
source§fn default() -> ViewDefinitionBuilder
fn default() -> ViewDefinitionBuilder
source§impl PartialEq for ViewDefinitionBuilder
impl PartialEq for ViewDefinitionBuilder
source§fn eq(&self, other: &ViewDefinitionBuilder) -> bool
fn eq(&self, other: &ViewDefinitionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ViewDefinitionBuilder
Auto Trait Implementations§
impl Freeze for ViewDefinitionBuilder
impl RefUnwindSafe for ViewDefinitionBuilder
impl Send for ViewDefinitionBuilder
impl Sync for ViewDefinitionBuilder
impl Unpin for ViewDefinitionBuilder
impl UnwindSafe for ViewDefinitionBuilder
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