Struct aws_sdk_lakeformation::operation::get_work_units::builders::GetWorkUnitsOutputBuilder
source · #[non_exhaustive]pub struct GetWorkUnitsOutputBuilder { /* private fields */ }
Expand description
A builder for GetWorkUnitsOutput
.
Implementations§
source§impl GetWorkUnitsOutputBuilder
impl GetWorkUnitsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
sourcepub fn query_id(self, input: impl Into<String>) -> Self
pub fn query_id(self, input: impl Into<String>) -> Self
The ID of the plan query operation.
This field is required.sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
The ID of the plan query operation.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
The ID of the plan query operation.
sourcepub fn work_unit_ranges(self, input: WorkUnitRange) -> Self
pub fn work_unit_ranges(self, input: WorkUnitRange) -> Self
Appends an item to work_unit_ranges
.
To override the contents of this collection use set_work_unit_ranges
.
A WorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.
sourcepub fn set_work_unit_ranges(self, input: Option<Vec<WorkUnitRange>>) -> Self
pub fn set_work_unit_ranges(self, input: Option<Vec<WorkUnitRange>>) -> Self
A WorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.
sourcepub fn get_work_unit_ranges(&self) -> &Option<Vec<WorkUnitRange>>
pub fn get_work_unit_ranges(&self) -> &Option<Vec<WorkUnitRange>>
A WorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.
sourcepub fn build(self) -> Result<GetWorkUnitsOutput, BuildError>
pub fn build(self) -> Result<GetWorkUnitsOutput, BuildError>
Consumes the builder and constructs a GetWorkUnitsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetWorkUnitsOutputBuilder
impl Clone for GetWorkUnitsOutputBuilder
source§fn clone(&self) -> GetWorkUnitsOutputBuilder
fn clone(&self) -> GetWorkUnitsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkUnitsOutputBuilder
impl Debug for GetWorkUnitsOutputBuilder
source§impl Default for GetWorkUnitsOutputBuilder
impl Default for GetWorkUnitsOutputBuilder
source§fn default() -> GetWorkUnitsOutputBuilder
fn default() -> GetWorkUnitsOutputBuilder
source§impl PartialEq for GetWorkUnitsOutputBuilder
impl PartialEq for GetWorkUnitsOutputBuilder
source§fn eq(&self, other: &GetWorkUnitsOutputBuilder) -> bool
fn eq(&self, other: &GetWorkUnitsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetWorkUnitsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetWorkUnitsOutputBuilder
impl RefUnwindSafe for GetWorkUnitsOutputBuilder
impl Send for GetWorkUnitsOutputBuilder
impl Sync for GetWorkUnitsOutputBuilder
impl Unpin for GetWorkUnitsOutputBuilder
impl UnwindSafe for GetWorkUnitsOutputBuilder
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