Interface GetSyncJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSyncJobResponse.Builder,,GetSyncJobResponse> IoTTwinMakerResponse.Builder,SdkBuilder<GetSyncJobResponse.Builder,,GetSyncJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSyncJobResponse
public static interface GetSyncJobResponse.Builder
extends IoTTwinMakerResponse.Builder, SdkPojo, CopyableBuilder<GetSyncJobResponse.Builder,GetSyncJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe sync job ARN.creationDateTime(Instant creationDateTime) The creation date and time.default GetSyncJobResponse.Builderstatus(Consumer<SyncJobStatus.Builder> status) The SyncJob response status.status(SyncJobStatus status) The SyncJob response status.The sync IAM role.syncSource(String syncSource) The sync soucre.updateDateTime(Instant updateDateTime) The update date and time.workspaceId(String workspaceId) The ID of the workspace that contains the sync job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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
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 theSyncJobStatus.Builderavoiding the need to create one manually viaSyncJobStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SyncJobStatus).- Parameters:
status- a consumer that will call methods onSyncJobStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-