#[non_exhaustive]pub struct GetSyncJobOutputBuilder { /* private fields */ }Expand description
A builder for GetSyncJobOutput.
Implementations§
source§impl GetSyncJobOutputBuilder
impl GetSyncJobOutputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace that contains the sync job.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace that contains the sync job.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace that contains the sync job.
sourcepub fn sync_source(self, input: impl Into<String>) -> Self
pub fn sync_source(self, input: impl Into<String>) -> Self
The sync soucre.
Currently the only supported syncSource is SITEWISE .
sourcepub fn set_sync_source(self, input: Option<String>) -> Self
pub fn set_sync_source(self, input: Option<String>) -> Self
The sync soucre.
Currently the only supported syncSource is SITEWISE .
sourcepub fn get_sync_source(&self) -> &Option<String>
pub fn get_sync_source(&self) -> &Option<String>
The sync soucre.
Currently the only supported syncSource is SITEWISE .
sourcepub fn sync_role(self, input: impl Into<String>) -> Self
pub fn sync_role(self, input: impl Into<String>) -> Self
The sync IAM role.
This field is required.sourcepub fn set_sync_role(self, input: Option<String>) -> Self
pub fn set_sync_role(self, input: Option<String>) -> Self
The sync IAM role.
sourcepub fn get_sync_role(&self) -> &Option<String>
pub fn get_sync_role(&self) -> &Option<String>
The sync IAM role.
sourcepub fn status(self, input: SyncJobStatus) -> Self
pub fn status(self, input: SyncJobStatus) -> Self
The SyncJob response status.
This field is required.sourcepub fn set_status(self, input: Option<SyncJobStatus>) -> Self
pub fn set_status(self, input: Option<SyncJobStatus>) -> Self
The SyncJob response status.
sourcepub fn get_status(&self) -> &Option<SyncJobStatus>
pub fn get_status(&self) -> &Option<SyncJobStatus>
The SyncJob response status.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The creation date and time.
This field is required.sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The creation date and time.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The creation date and time.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The update date and time.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The update date and time.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The update date and time.
sourcepub fn build(self) -> Result<GetSyncJobOutput, BuildError>
pub fn build(self) -> Result<GetSyncJobOutput, BuildError>
Consumes the builder and constructs a GetSyncJobOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetSyncJobOutputBuilder
impl Clone for GetSyncJobOutputBuilder
source§fn clone(&self) -> GetSyncJobOutputBuilder
fn clone(&self) -> GetSyncJobOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSyncJobOutputBuilder
impl Debug for GetSyncJobOutputBuilder
source§impl Default for GetSyncJobOutputBuilder
impl Default for GetSyncJobOutputBuilder
source§fn default() -> GetSyncJobOutputBuilder
fn default() -> GetSyncJobOutputBuilder
source§impl PartialEq for GetSyncJobOutputBuilder
impl PartialEq for GetSyncJobOutputBuilder
source§fn eq(&self, other: &GetSyncJobOutputBuilder) -> bool
fn eq(&self, other: &GetSyncJobOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.