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
source§impl PartialEq for CreateSyncJobInputBuilder
impl PartialEq for CreateSyncJobInputBuilder
source§fn eq(&self, other: &CreateSyncJobInputBuilder) -> bool
fn eq(&self, other: &CreateSyncJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.