pub struct Builder<T>(/* private fields */);Expand description
A builder for IngestTransform
Implementations§
Source§impl Builder<IngestTransformRidStage>
impl Builder<IngestTransformRidStage>
Sourcepub fn ingest_transform_rid(
self,
ingest_transform_rid: ResourceIdentifier,
) -> Builder<IngestJobRidStage>
pub fn ingest_transform_rid( self, ingest_transform_rid: ResourceIdentifier, ) -> Builder<IngestJobRidStage>
Sets the ingest_transform_rid field.
Source§impl Builder<IngestJobRidStage>
impl Builder<IngestJobRidStage>
Sourcepub fn ingest_job_rid(
self,
ingest_job_rid: ResourceIdentifier,
) -> Builder<TransformTypeStage>
pub fn ingest_job_rid( self, ingest_job_rid: ResourceIdentifier, ) -> Builder<TransformTypeStage>
Sets the ingest_job_rid field.
Source§impl Builder<TransformTypeStage>
impl Builder<TransformTypeStage>
Sourcepub fn transform_type(
self,
transform_type: IngestTransformType,
) -> Builder<StatusStage>
pub fn transform_type( self, transform_type: IngestTransformType, ) -> Builder<StatusStage>
Sets the transform_type field.
Source§impl Builder<StatusStage>
impl Builder<StatusStage>
Sourcepub fn status(self, status: IngestTransformStatus) -> Builder<CreatedAtStage>
pub fn status(self, status: IngestTransformStatus) -> Builder<CreatedAtStage>
Sets the status field.
Source§impl Builder<CreatedAtStage>
impl Builder<CreatedAtStage>
Sourcepub fn created_at(self, created_at: DateTime<Utc>) -> Builder<UpdatedAtStage>
pub fn created_at(self, created_at: DateTime<Utc>) -> Builder<UpdatedAtStage>
Sets the created_at field.
Source§impl Builder<UpdatedAtStage>
impl Builder<UpdatedAtStage>
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn ingest_transform_rid(
self,
ingest_transform_rid: ResourceIdentifier,
) -> Self
pub fn ingest_transform_rid( self, ingest_transform_rid: ResourceIdentifier, ) -> Self
Sets the ingest_transform_rid field.
Sourcepub fn ingest_job_rid(self, ingest_job_rid: ResourceIdentifier) -> Self
pub fn ingest_job_rid(self, ingest_job_rid: ResourceIdentifier) -> Self
Sets the ingest_job_rid field.
Sourcepub fn transform_type(self, transform_type: IngestTransformType) -> Self
pub fn transform_type(self, transform_type: IngestTransformType) -> Self
Sets the transform_type field.
Sourcepub fn status(self, status: IngestTransformStatus) -> Self
pub fn status(self, status: IngestTransformStatus) -> Self
Sets the status field.
Sourcepub fn created_at(self, created_at: DateTime<Utc>) -> Self
pub fn created_at(self, created_at: DateTime<Utc>) -> Self
Sets the created_at field.
Sourcepub fn updated_at(self, updated_at: DateTime<Utc>) -> Self
pub fn updated_at(self, updated_at: DateTime<Utc>) -> Self
Sets the updated_at field.
Sourcepub fn error_message(self, error_message: impl Into<Option<String>>) -> Self
pub fn error_message(self, error_message: impl Into<Option<String>>) -> Self
Sets the error_message field.
Sourcepub fn finished_at(self, finished_at: impl Into<Option<DateTime<Utc>>>) -> Self
pub fn finished_at(self, finished_at: impl Into<Option<DateTime<Utc>>>) -> Self
Sets the finished_at field.
Sourcepub fn build(self) -> IngestTransform
pub fn build(self) -> IngestTransform
Consumes the builder, returning a IngestTransform.
Trait Implementations§
Source§impl Default for Builder<IngestTransformRidStage>
impl Default for Builder<IngestTransformRidStage>
Source§impl From<IngestTransform> for Builder<Complete>
impl From<IngestTransform> for Builder<Complete>
Source§fn from(v: IngestTransform) -> Self
fn from(v: IngestTransform) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnsafeUnpin for Builder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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
Mutably borrows from an owned value. Read more