Struct aws_sdk_mediapackage::types::builders::HarvestJobBuilder
source · #[non_exhaustive]pub struct HarvestJobBuilder { /* private fields */ }
Expand description
A builder for HarvestJob
.
Implementations§
source§impl HarvestJobBuilder
impl HarvestJobBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) assigned to the HarvestJob.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) assigned to the HarvestJob.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) assigned to the HarvestJob.
sourcepub fn channel_id(self, input: impl Into<String>) -> Self
pub fn channel_id(self, input: impl Into<String>) -> Self
The ID of the Channel that the HarvestJob will harvest from.
sourcepub fn set_channel_id(self, input: Option<String>) -> Self
pub fn set_channel_id(self, input: Option<String>) -> Self
The ID of the Channel that the HarvestJob will harvest from.
sourcepub fn get_channel_id(&self) -> &Option<String>
pub fn get_channel_id(&self) -> &Option<String>
The ID of the Channel that the HarvestJob will harvest from.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
The date and time the HarvestJob was submitted.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
The date and time the HarvestJob was submitted.
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
The date and time the HarvestJob was submitted.
sourcepub fn end_time(self, input: impl Into<String>) -> Self
pub fn end_time(self, input: impl Into<String>) -> Self
The end of the time-window which will be harvested.
sourcepub fn set_end_time(self, input: Option<String>) -> Self
pub fn set_end_time(self, input: Option<String>) -> Self
The end of the time-window which will be harvested.
sourcepub fn get_end_time(&self) -> &Option<String>
pub fn get_end_time(&self) -> &Option<String>
The end of the time-window which will be harvested.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
sourcepub fn origin_endpoint_id(self, input: impl Into<String>) -> Self
pub fn origin_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
sourcepub fn set_origin_endpoint_id(self, input: Option<String>) -> Self
pub fn set_origin_endpoint_id(self, input: Option<String>) -> Self
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
sourcepub fn get_origin_endpoint_id(&self) -> &Option<String>
pub fn get_origin_endpoint_id(&self) -> &Option<String>
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
sourcepub fn s3_destination(self, input: S3Destination) -> Self
pub fn s3_destination(self, input: S3Destination) -> Self
Configuration parameters for where in an S3 bucket to place the harvested content
sourcepub fn set_s3_destination(self, input: Option<S3Destination>) -> Self
pub fn set_s3_destination(self, input: Option<S3Destination>) -> Self
Configuration parameters for where in an S3 bucket to place the harvested content
sourcepub fn get_s3_destination(&self) -> &Option<S3Destination>
pub fn get_s3_destination(&self) -> &Option<S3Destination>
Configuration parameters for where in an S3 bucket to place the harvested content
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
The start of the time-window which will be harvested.
sourcepub fn set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
The start of the time-window which will be harvested.
sourcepub fn get_start_time(&self) -> &Option<String>
pub fn get_start_time(&self) -> &Option<String>
The start of the time-window which will be harvested.
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.
sourcepub fn build(self) -> HarvestJob
pub fn build(self) -> HarvestJob
Consumes the builder and constructs a HarvestJob
.
Trait Implementations§
source§impl Clone for HarvestJobBuilder
impl Clone for HarvestJobBuilder
source§fn clone(&self) -> HarvestJobBuilder
fn clone(&self) -> HarvestJobBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HarvestJobBuilder
impl Debug for HarvestJobBuilder
source§impl Default for HarvestJobBuilder
impl Default for HarvestJobBuilder
source§fn default() -> HarvestJobBuilder
fn default() -> HarvestJobBuilder
source§impl PartialEq for HarvestJobBuilder
impl PartialEq for HarvestJobBuilder
source§fn eq(&self, other: &HarvestJobBuilder) -> bool
fn eq(&self, other: &HarvestJobBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HarvestJobBuilder
Auto Trait Implementations§
impl Freeze for HarvestJobBuilder
impl RefUnwindSafe for HarvestJobBuilder
impl Send for HarvestJobBuilder
impl Sync for HarvestJobBuilder
impl Unpin for HarvestJobBuilder
impl UnwindSafe for HarvestJobBuilder
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