#[non_exhaustive]pub struct BatchPredictionBuilder { /* private fields */ }
Expand description
A builder for BatchPrediction
.
Implementations§
source§impl BatchPredictionBuilder
impl BatchPredictionBuilder
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID for the batch prediction.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID for the batch prediction.
sourcepub fn status(self, input: AsyncJobStatus) -> Self
pub fn status(self, input: AsyncJobStatus) -> Self
The batch prediction status.
sourcepub fn set_status(self, input: Option<AsyncJobStatus>) -> Self
pub fn set_status(self, input: Option<AsyncJobStatus>) -> Self
The batch prediction status.
sourcepub fn get_status(&self) -> &Option<AsyncJobStatus>
pub fn get_status(&self) -> &Option<AsyncJobStatus>
The batch prediction status.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason a batch prediction job failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason a batch prediction job failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The reason a batch prediction job failed.
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
Timestamp of when the batch prediction job started.
sourcepub fn set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
Timestamp of when the batch prediction job started.
sourcepub fn get_start_time(&self) -> &Option<String>
pub fn get_start_time(&self) -> &Option<String>
Timestamp of when the batch prediction job started.
sourcepub fn completion_time(self, input: impl Into<String>) -> Self
pub fn completion_time(self, input: impl Into<String>) -> Self
Timestamp of when the batch prediction job completed.
sourcepub fn set_completion_time(self, input: Option<String>) -> Self
pub fn set_completion_time(self, input: Option<String>) -> Self
Timestamp of when the batch prediction job completed.
sourcepub fn get_completion_time(&self) -> &Option<String>
pub fn get_completion_time(&self) -> &Option<String>
Timestamp of when the batch prediction job completed.
sourcepub fn last_heartbeat_time(self, input: impl Into<String>) -> Self
pub fn last_heartbeat_time(self, input: impl Into<String>) -> Self
Timestamp of most recent heartbeat indicating the batch prediction job was making progress.
sourcepub fn set_last_heartbeat_time(self, input: Option<String>) -> Self
pub fn set_last_heartbeat_time(self, input: Option<String>) -> Self
Timestamp of most recent heartbeat indicating the batch prediction job was making progress.
sourcepub fn get_last_heartbeat_time(&self) -> &Option<String>
pub fn get_last_heartbeat_time(&self) -> &Option<String>
Timestamp of most recent heartbeat indicating the batch prediction job was making progress.
sourcepub fn input_path(self, input: impl Into<String>) -> Self
pub fn input_path(self, input: impl Into<String>) -> Self
The Amazon S3 location of your training file.
sourcepub fn set_input_path(self, input: Option<String>) -> Self
pub fn set_input_path(self, input: Option<String>) -> Self
The Amazon S3 location of your training file.
sourcepub fn get_input_path(&self) -> &Option<String>
pub fn get_input_path(&self) -> &Option<String>
The Amazon S3 location of your training file.
sourcepub fn output_path(self, input: impl Into<String>) -> Self
pub fn output_path(self, input: impl Into<String>) -> Self
The Amazon S3 location of your output file.
sourcepub fn set_output_path(self, input: Option<String>) -> Self
pub fn set_output_path(self, input: Option<String>) -> Self
The Amazon S3 location of your output file.
sourcepub fn get_output_path(&self) -> &Option<String>
pub fn get_output_path(&self) -> &Option<String>
The Amazon S3 location of your output file.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
sourcepub fn detector_name(self, input: impl Into<String>) -> Self
pub fn detector_name(self, input: impl Into<String>) -> Self
The name of the detector.
sourcepub fn set_detector_name(self, input: Option<String>) -> Self
pub fn set_detector_name(self, input: Option<String>) -> Self
The name of the detector.
sourcepub fn get_detector_name(&self) -> &Option<String>
pub fn get_detector_name(&self) -> &Option<String>
The name of the detector.
sourcepub fn detector_version(self, input: impl Into<String>) -> Self
pub fn detector_version(self, input: impl Into<String>) -> Self
The detector version.
sourcepub fn set_detector_version(self, input: Option<String>) -> Self
pub fn set_detector_version(self, input: Option<String>) -> Self
The detector version.
sourcepub fn get_detector_version(&self) -> &Option<String>
pub fn get_detector_version(&self) -> &Option<String>
The detector version.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role to use for this job request.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role to use for this job request.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The ARN of the IAM role to use for this job request.
sourcepub fn processed_records_count(self, input: i32) -> Self
pub fn processed_records_count(self, input: i32) -> Self
The number of records processed by the batch prediction job.
sourcepub fn set_processed_records_count(self, input: Option<i32>) -> Self
pub fn set_processed_records_count(self, input: Option<i32>) -> Self
The number of records processed by the batch prediction job.
sourcepub fn get_processed_records_count(&self) -> &Option<i32>
pub fn get_processed_records_count(&self) -> &Option<i32>
The number of records processed by the batch prediction job.
sourcepub fn total_records_count(self, input: i32) -> Self
pub fn total_records_count(self, input: i32) -> Self
The total number of records in the batch prediction job.
sourcepub fn set_total_records_count(self, input: Option<i32>) -> Self
pub fn set_total_records_count(self, input: Option<i32>) -> Self
The total number of records in the batch prediction job.
sourcepub fn get_total_records_count(&self) -> &Option<i32>
pub fn get_total_records_count(&self) -> &Option<i32>
The total number of records in the batch prediction job.
sourcepub fn build(self) -> BatchPrediction
pub fn build(self) -> BatchPrediction
Consumes the builder and constructs a BatchPrediction
.
Trait Implementations§
source§impl Clone for BatchPredictionBuilder
impl Clone for BatchPredictionBuilder
source§fn clone(&self) -> BatchPredictionBuilder
fn clone(&self) -> BatchPredictionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchPredictionBuilder
impl Debug for BatchPredictionBuilder
source§impl Default for BatchPredictionBuilder
impl Default for BatchPredictionBuilder
source§fn default() -> BatchPredictionBuilder
fn default() -> BatchPredictionBuilder
source§impl PartialEq for BatchPredictionBuilder
impl PartialEq for BatchPredictionBuilder
source§fn eq(&self, other: &BatchPredictionBuilder) -> bool
fn eq(&self, other: &BatchPredictionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.