Struct aws_sdk_emrserverless::operation::get_dashboard_for_job_run::builders::GetDashboardForJobRunFluentBuilder
source · pub struct GetDashboardForJobRunFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDashboardForJobRun
.
Creates and returns a URL that you can use to access the application UIs for a job run.
For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.
The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.
Implementations§
source§impl GetDashboardForJobRunFluentBuilder
impl GetDashboardForJobRunFluentBuilder
sourcepub fn as_input(&self) -> &GetDashboardForJobRunInputBuilder
pub fn as_input(&self) -> &GetDashboardForJobRunInputBuilder
Access the GetDashboardForJobRun as a reference.
sourcepub async fn send(
self
) -> Result<GetDashboardForJobRunOutput, SdkError<GetDashboardForJobRunError, HttpResponse>>
pub async fn send( self ) -> Result<GetDashboardForJobRunOutput, SdkError<GetDashboardForJobRunError, 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<GetDashboardForJobRunOutput, GetDashboardForJobRunError, Self>
pub fn customize( self ) -> CustomizableOperation<GetDashboardForJobRunOutput, GetDashboardForJobRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application.
sourcepub fn job_run_id(self, input: impl Into<String>) -> Self
pub fn job_run_id(self, input: impl Into<String>) -> Self
The ID of the job run.
sourcepub fn set_job_run_id(self, input: Option<String>) -> Self
pub fn set_job_run_id(self, input: Option<String>) -> Self
The ID of the job run.
sourcepub fn get_job_run_id(&self) -> &Option<String>
pub fn get_job_run_id(&self) -> &Option<String>
The ID of the job run.
sourcepub fn attempt(self, input: i32) -> Self
pub fn attempt(self, input: i32) -> Self
An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.
sourcepub fn set_attempt(self, input: Option<i32>) -> Self
pub fn set_attempt(self, input: Option<i32>) -> Self
An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.
sourcepub fn get_attempt(&self) -> &Option<i32>
pub fn get_attempt(&self) -> &Option<i32>
An optimal parameter that indicates the amount of attempts for the job. If not specified, this value defaults to the attempt of the latest job.
Trait Implementations§
source§impl Clone for GetDashboardForJobRunFluentBuilder
impl Clone for GetDashboardForJobRunFluentBuilder
source§fn clone(&self) -> GetDashboardForJobRunFluentBuilder
fn clone(&self) -> GetDashboardForJobRunFluentBuilder
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 GetDashboardForJobRunFluentBuilder
impl !RefUnwindSafe for GetDashboardForJobRunFluentBuilder
impl Send for GetDashboardForJobRunFluentBuilder
impl Sync for GetDashboardForJobRunFluentBuilder
impl Unpin for GetDashboardForJobRunFluentBuilder
impl !UnwindSafe for GetDashboardForJobRunFluentBuilder
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