Interface SyncJobStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SyncJobStatus.Builder,,SyncJobStatus> SdkBuilder<SyncJobStatus.Builder,,SyncJobStatus> SdkPojo
- Enclosing class:
SyncJobStatus
public static interface SyncJobStatus.Builder
extends SdkPojo, CopyableBuilder<SyncJobStatus.Builder,SyncJobStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SyncJobStatus.Buildererror(Consumer<ErrorDetails.Builder> error) The SyncJob error.error(ErrorDetails error) The SyncJob error.The SyncJob status state.state(SyncJobState state) The SyncJob status state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
state
The SyncJob status state.
- Parameters:
state- The SyncJob status state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The SyncJob status state.
- Parameters:
state- The SyncJob status state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
The SyncJob error.
- Parameters:
error- The SyncJob error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The SyncJob error.
This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetails).- Parameters:
error- a consumer that will call methods onErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-