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,
) -> Builder<Complete>
pub fn ingest_transform_rid( self, ingest_transform_rid: ResourceIdentifier, ) -> Builder<Complete>
Sets the ingest_transform_rid field.
Sourcepub fn ingest_job_rid(
self,
ingest_job_rid: ResourceIdentifier,
) -> Builder<Complete>
pub fn ingest_job_rid( self, ingest_job_rid: ResourceIdentifier, ) -> Builder<Complete>
Sets the ingest_job_rid field.
Sourcepub fn transform_type(
self,
transform_type: IngestTransformType,
) -> Builder<Complete>
pub fn transform_type( self, transform_type: IngestTransformType, ) -> Builder<Complete>
Sets the transform_type field.
Sourcepub fn status(self, status: IngestTransformStatus) -> Builder<Complete>
pub fn status(self, status: IngestTransformStatus) -> Builder<Complete>
Sets the status field.
Sourcepub fn created_at(self, created_at: DateTime<Utc>) -> Builder<Complete>
pub fn created_at(self, created_at: DateTime<Utc>) -> Builder<Complete>
Sets the created_at field.
Sourcepub fn updated_at(self, updated_at: DateTime<Utc>) -> Builder<Complete>
pub fn updated_at(self, updated_at: DateTime<Utc>) -> Builder<Complete>
Sets the updated_at field.
Sourcepub fn error_message(
self,
error_message: impl Into<Option<String>>,
) -> Builder<Complete>
pub fn error_message( self, error_message: impl Into<Option<String>>, ) -> Builder<Complete>
Sets the error_message field.
Sourcepub fn finished_at(
self,
finished_at: impl Into<Option<DateTime<Utc>>>,
) -> Builder<Complete>
pub fn finished_at( self, finished_at: impl Into<Option<DateTime<Utc>>>, ) -> Builder<Complete>
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>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request