#[non_exhaustive]pub struct BackendJobRespObjBuilder { /* private fields */ }
Expand description
A builder for BackendJobRespObj
.
Implementations§
source§impl BackendJobRespObjBuilder
impl BackendJobRespObjBuilder
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The app ID.
sourcepub fn backend_environment_name(self, input: impl Into<String>) -> Self
pub fn backend_environment_name(self, input: impl Into<String>) -> Self
The name of the backend environment.
sourcepub fn set_backend_environment_name(self, input: Option<String>) -> Self
pub fn set_backend_environment_name(self, input: Option<String>) -> Self
The name of the backend environment.
sourcepub fn create_time(self, input: impl Into<String>) -> Self
pub fn create_time(self, input: impl Into<String>) -> Self
The time when the job was created.
sourcepub fn set_create_time(self, input: Option<String>) -> Self
pub fn set_create_time(self, input: Option<String>) -> Self
The time when the job was created.
sourcepub fn error(self, input: impl Into<String>) -> Self
pub fn error(self, input: impl Into<String>) -> Self
If the request fails, this error is returned.
sourcepub fn set_error(self, input: Option<String>) -> Self
pub fn set_error(self, input: Option<String>) -> Self
If the request fails, this error is returned.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID for the job.
sourcepub fn set_operation(self, input: Option<String>) -> Self
pub fn set_operation(self, input: Option<String>) -> Self
The name of the operation.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the request.
sourcepub fn update_time(self, input: impl Into<String>) -> Self
pub fn update_time(self, input: impl Into<String>) -> Self
The time when the job was last updated.
sourcepub fn set_update_time(self, input: Option<String>) -> Self
pub fn set_update_time(self, input: Option<String>) -> Self
The time when the job was last updated.
sourcepub fn build(self) -> BackendJobRespObj
pub fn build(self) -> BackendJobRespObj
Consumes the builder and constructs a BackendJobRespObj
.
Trait Implementations§
source§impl Clone for BackendJobRespObjBuilder
impl Clone for BackendJobRespObjBuilder
source§fn clone(&self) -> BackendJobRespObjBuilder
fn clone(&self) -> BackendJobRespObjBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackendJobRespObjBuilder
impl Debug for BackendJobRespObjBuilder
source§impl Default for BackendJobRespObjBuilder
impl Default for BackendJobRespObjBuilder
source§fn default() -> BackendJobRespObjBuilder
fn default() -> BackendJobRespObjBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BackendJobRespObjBuilder> for BackendJobRespObjBuilder
impl PartialEq<BackendJobRespObjBuilder> for BackendJobRespObjBuilder
source§fn eq(&self, other: &BackendJobRespObjBuilder) -> bool
fn eq(&self, other: &BackendJobRespObjBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.