pub struct CreateHarvestJob { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateHarvestJob
.
Creates a new HarvestJob record.
Implementations§
source§impl CreateHarvestJob
impl CreateHarvestJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateHarvestJob, AwsResponseRetryClassifier>, SdkError<CreateHarvestJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateHarvestJob, AwsResponseRetryClassifier>, SdkError<CreateHarvestJobError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateHarvestJobOutput, SdkError<CreateHarvestJobError>>
pub async fn send(
self
) -> Result<CreateHarvestJobOutput, SdkError<CreateHarvestJobError>>
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 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 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 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 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 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
Trait Implementations§
source§impl Clone for CreateHarvestJob
impl Clone for CreateHarvestJob
source§fn clone(&self) -> CreateHarvestJob
fn clone(&self) -> CreateHarvestJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more