Struct aws_sdk_iottwinmaker::operation::create_sync_job::builders::CreateSyncJobInputBuilder
source · #[non_exhaustive]pub struct CreateSyncJobInputBuilder { /* private fields */ }Expand description
A builder for CreateSyncJobInput.
Implementations§
source§impl CreateSyncJobInputBuilder
impl CreateSyncJobInputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The workspace ID.
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 workspace ID.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The workspace ID.
sourcepub fn sync_source(self, input: impl Into<String>) -> Self
pub fn sync_source(self, input: impl Into<String>) -> Self
The sync source.
Currently the only supported syncSoource is SITEWISE .
sourcepub fn set_sync_source(self, input: Option<String>) -> Self
pub fn set_sync_source(self, input: Option<String>) -> Self
The sync source.
Currently the only supported syncSoource is SITEWISE .
sourcepub fn get_sync_source(&self) -> &Option<String>
pub fn get_sync_source(&self) -> &Option<String>
The sync source.
Currently the only supported syncSoource is SITEWISE .
sourcepub fn sync_role(self, input: impl Into<String>) -> Self
pub fn sync_role(self, input: impl Into<String>) -> Self
The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or delete the corresponding resources.
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 SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or delete the corresponding resources.
sourcepub fn get_sync_role(&self) -> &Option<String>
pub fn get_sync_role(&self) -> &Option<String>
The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or delete the corresponding resources.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The SyncJob tags.
The SyncJob tags.
The SyncJob tags.
sourcepub fn build(self) -> Result<CreateSyncJobInput, BuildError>
pub fn build(self) -> Result<CreateSyncJobInput, BuildError>
Consumes the builder and constructs a CreateSyncJobInput.
source§impl CreateSyncJobInputBuilder
impl CreateSyncJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateSyncJobOutput, SdkError<CreateSyncJobError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateSyncJobOutput, SdkError<CreateSyncJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSyncJobInputBuilder
impl Clone for CreateSyncJobInputBuilder
source§fn clone(&self) -> CreateSyncJobInputBuilder
fn clone(&self) -> CreateSyncJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateSyncJobInputBuilder
impl Debug for CreateSyncJobInputBuilder
source§impl Default for CreateSyncJobInputBuilder
impl Default for CreateSyncJobInputBuilder
source§fn default() -> CreateSyncJobInputBuilder
fn default() -> CreateSyncJobInputBuilder
impl StructuralPartialEq for CreateSyncJobInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSyncJobInputBuilder
impl RefUnwindSafe for CreateSyncJobInputBuilder
impl Send for CreateSyncJobInputBuilder
impl Sync for CreateSyncJobInputBuilder
impl Unpin for CreateSyncJobInputBuilder
impl UnwindSafe for CreateSyncJobInputBuilder
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