Struct aws_sdk_neptunedata::operation::get_loader_job_status::builders::GetLoaderJobStatusFluentBuilder
source · pub struct GetLoaderJobStatusFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetLoaderJobStatus
.
Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.
See Neptune Loader Get-Status API for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetLoaderJobStatus IAM action in that cluster..
Implementations§
source§impl GetLoaderJobStatusFluentBuilder
impl GetLoaderJobStatusFluentBuilder
sourcepub fn as_input(&self) -> &GetLoaderJobStatusInputBuilder
pub fn as_input(&self) -> &GetLoaderJobStatusInputBuilder
Access the GetLoaderJobStatus as a reference.
sourcepub async fn send(
self
) -> Result<GetLoaderJobStatusOutput, SdkError<GetLoaderJobStatusError, HttpResponse>>
pub async fn send( self ) -> Result<GetLoaderJobStatusOutput, SdkError<GetLoaderJobStatusError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetLoaderJobStatusOutput, GetLoaderJobStatusError, Self>
pub fn customize( self ) -> CustomizableOperation<GetLoaderJobStatusOutput, GetLoaderJobStatusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn load_id(self, input: impl Into<String>) -> Self
pub fn load_id(self, input: impl Into<String>) -> Self
The load ID of the load job to get the status of.
sourcepub fn set_load_id(self, input: Option<String>) -> Self
pub fn set_load_id(self, input: Option<String>) -> Self
The load ID of the load job to get the status of.
sourcepub fn get_load_id(&self) -> &Option<String>
pub fn get_load_id(&self) -> &Option<String>
The load ID of the load job to get the status of.
sourcepub fn details(self, input: bool) -> Self
pub fn details(self, input: bool) -> Self
Flag indicating whether or not to include details beyond the overall status (TRUE
or FALSE
; the default is FALSE
).
sourcepub fn set_details(self, input: Option<bool>) -> Self
pub fn set_details(self, input: Option<bool>) -> Self
Flag indicating whether or not to include details beyond the overall status (TRUE
or FALSE
; the default is FALSE
).
sourcepub fn get_details(&self) -> &Option<bool>
pub fn get_details(&self) -> &Option<bool>
Flag indicating whether or not to include details beyond the overall status (TRUE
or FALSE
; the default is FALSE
).
sourcepub fn errors(self, input: bool) -> Self
pub fn errors(self, input: bool) -> Self
Flag indicating whether or not to include a list of errors encountered (TRUE
or FALSE
; the default is FALSE
).
The list of errors is paged. The page
and errorsPerPage
parameters allow you to page through all the errors.
sourcepub fn set_errors(self, input: Option<bool>) -> Self
pub fn set_errors(self, input: Option<bool>) -> Self
Flag indicating whether or not to include a list of errors encountered (TRUE
or FALSE
; the default is FALSE
).
The list of errors is paged. The page
and errorsPerPage
parameters allow you to page through all the errors.
sourcepub fn get_errors(&self) -> &Option<bool>
pub fn get_errors(&self) -> &Option<bool>
Flag indicating whether or not to include a list of errors encountered (TRUE
or FALSE
; the default is FALSE
).
The list of errors is paged. The page
and errorsPerPage
parameters allow you to page through all the errors.
sourcepub fn page(self, input: i32) -> Self
pub fn page(self, input: i32) -> Self
The error page number (a positive integer; the default is 1
). Only valid when the errors
parameter is set to TRUE
.
sourcepub fn set_page(self, input: Option<i32>) -> Self
pub fn set_page(self, input: Option<i32>) -> Self
The error page number (a positive integer; the default is 1
). Only valid when the errors
parameter is set to TRUE
.
sourcepub fn get_page(&self) -> &Option<i32>
pub fn get_page(&self) -> &Option<i32>
The error page number (a positive integer; the default is 1
). Only valid when the errors
parameter is set to TRUE
.
sourcepub fn errors_per_page(self, input: i32) -> Self
pub fn errors_per_page(self, input: i32) -> Self
The number of errors returned in each page (a positive integer; the default is 10
). Only valid when the errors
parameter set to TRUE
.
sourcepub fn set_errors_per_page(self, input: Option<i32>) -> Self
pub fn set_errors_per_page(self, input: Option<i32>) -> Self
The number of errors returned in each page (a positive integer; the default is 10
). Only valid when the errors
parameter set to TRUE
.
sourcepub fn get_errors_per_page(&self) -> &Option<i32>
pub fn get_errors_per_page(&self) -> &Option<i32>
The number of errors returned in each page (a positive integer; the default is 10
). Only valid when the errors
parameter set to TRUE
.
Trait Implementations§
source§impl Clone for GetLoaderJobStatusFluentBuilder
impl Clone for GetLoaderJobStatusFluentBuilder
source§fn clone(&self) -> GetLoaderJobStatusFluentBuilder
fn clone(&self) -> GetLoaderJobStatusFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetLoaderJobStatusFluentBuilder
impl !RefUnwindSafe for GetLoaderJobStatusFluentBuilder
impl Send for GetLoaderJobStatusFluentBuilder
impl Sync for GetLoaderJobStatusFluentBuilder
impl Unpin for GetLoaderJobStatusFluentBuilder
impl !UnwindSafe for GetLoaderJobStatusFluentBuilder
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