#[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
impl StructuralPartialEq for GetSyncJobOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSyncJobOutputBuilder
impl RefUnwindSafe for GetSyncJobOutputBuilder
impl Send for GetSyncJobOutputBuilder
impl Sync for GetSyncJobOutputBuilder
impl Unpin for GetSyncJobOutputBuilder
impl UnwindSafe for GetSyncJobOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more