Interface GetSyncJobResponse.Builder

  • Method Details

    • arn

      The sync job ARN.

      Parameters:
      arn - The sync job ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaceId

      GetSyncJobResponse.Builder workspaceId(String workspaceId)

      The ID of the workspace that contains the sync job.

      Parameters:
      workspaceId - The ID of the workspace that contains the sync job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • syncSource

      GetSyncJobResponse.Builder syncSource(String syncSource)

      The sync soucre.

      Currently the only supported syncSource is SITEWISE .

      Parameters:
      syncSource - The sync soucre.

      Currently the only supported syncSource is SITEWISE .

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • syncRole

      GetSyncJobResponse.Builder syncRole(String syncRole)

      The sync IAM role.

      Parameters:
      syncRole - The sync IAM role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The SyncJob response status.

      Parameters:
      status - The SyncJob response status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The SyncJob response status.

      This is a convenience method that creates an instance of the SyncJobStatus.Builder avoiding the need to create one manually via SyncJobStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(SyncJobStatus).

      Parameters:
      status - a consumer that will call methods on SyncJobStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDateTime

      GetSyncJobResponse.Builder creationDateTime(Instant creationDateTime)

      The creation date and time.

      Parameters:
      creationDateTime - The creation date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateDateTime

      GetSyncJobResponse.Builder updateDateTime(Instant updateDateTime)

      The update date and time.

      Parameters:
      updateDateTime - The update date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.