Struct aws_sdk_personalize::model::batch_segment_job::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchSegmentJob
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the batch segment job.
sourcepub fn batch_segment_job_arn(self, input: impl Into<String>) -> Self
pub fn batch_segment_job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the batch segment job.
sourcepub fn set_batch_segment_job_arn(self, input: Option<String>) -> Self
pub fn set_batch_segment_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the batch segment job.
sourcepub fn filter_arn(self, input: impl Into<String>) -> Self
pub fn filter_arn(self, input: impl Into<String>) -> Self
The ARN of the filter used on the batch segment job.
sourcepub fn set_filter_arn(self, input: Option<String>) -> Self
pub fn set_filter_arn(self, input: Option<String>) -> Self
The ARN of the filter used on the batch segment job.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If the batch segment job failed, the reason for the failure.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If the batch segment job failed, the reason for the failure.
sourcepub fn solution_version_arn(self, input: impl Into<String>) -> Self
pub fn solution_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.
sourcepub fn set_solution_version_arn(self, input: Option<String>) -> Self
pub fn set_solution_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.
sourcepub fn num_results(self, input: i32) -> Self
pub fn num_results(self, input: i32) -> Self
The number of predicted users generated by the batch segment job for each line of input data.
sourcepub fn set_num_results(self, input: Option<i32>) -> Self
pub fn set_num_results(self, input: Option<i32>) -> Self
The number of predicted users generated by the batch segment job for each line of input data.
sourcepub fn job_input(self, input: BatchSegmentJobInput) -> Self
pub fn job_input(self, input: BatchSegmentJobInput) -> Self
The Amazon S3 path that leads to the input data used to generate the batch segment job.
sourcepub fn set_job_input(self, input: Option<BatchSegmentJobInput>) -> Self
pub fn set_job_input(self, input: Option<BatchSegmentJobInput>) -> Self
The Amazon S3 path that leads to the input data used to generate the batch segment job.
sourcepub fn job_output(self, input: BatchSegmentJobOutput) -> Self
pub fn job_output(self, input: BatchSegmentJobOutput) -> Self
The Amazon S3 bucket that contains the output data generated by the batch segment job.
sourcepub fn set_job_output(self, input: Option<BatchSegmentJobOutput>) -> Self
pub fn set_job_output(self, input: Option<BatchSegmentJobOutput>) -> Self
The Amazon S3 bucket that contains the output data generated by the batch segment job.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the batch segment job. The status is one of the following values:
-
PENDING
-
IN PROGRESS
-
ACTIVE
-
CREATE FAILED
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the batch segment job. The status is one of the following values:
-
PENDING
-
IN PROGRESS
-
ACTIVE
-
CREATE FAILED
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The time at which the batch segment job was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The time at which the batch segment job was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The time at which the batch segment job last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The time at which the batch segment job last updated.
sourcepub fn build(self) -> BatchSegmentJob
pub fn build(self) -> BatchSegmentJob
Consumes the builder and constructs a BatchSegmentJob
.