Struct aws_sdk_iottwinmaker::operation::create_sync_job::builders::CreateSyncJobFluentBuilder
source · pub struct CreateSyncJobFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateSyncJob.
This action creates a SyncJob.
Implementations§
source§impl CreateSyncJobFluentBuilder
impl CreateSyncJobFluentBuilder
sourcepub fn as_input(&self) -> &CreateSyncJobInputBuilder
pub fn as_input(&self) -> &CreateSyncJobInputBuilder
Access the CreateSyncJob as a reference.
sourcepub async fn send(
self
) -> Result<CreateSyncJobOutput, SdkError<CreateSyncJobError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSyncJobOutput, SdkError<CreateSyncJobError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateSyncJobOutput, CreateSyncJobError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSyncJobOutput, CreateSyncJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The workspace ID.
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.
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.
Trait Implementations§
source§impl Clone for CreateSyncJobFluentBuilder
impl Clone for CreateSyncJobFluentBuilder
source§fn clone(&self) -> CreateSyncJobFluentBuilder
fn clone(&self) -> CreateSyncJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more