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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SyncJobStatus.Buildererror(Consumer<ErrorDetails.Builder> error)The SyncJob error.SyncJobStatus.Buildererror(ErrorDetails error)The SyncJob error.SyncJobStatus.Builderstate(String state)The SyncJob status state.SyncJobStatus.Builderstate(SyncJobState state)The SyncJob status state.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
state
SyncJobStatus.Builder state(String 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:
SyncJobState,SyncJobState
-
state
SyncJobStatus.Builder state(SyncJobState 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:
SyncJobState,SyncJobState
-
error
SyncJobStatus.Builder error(ErrorDetails 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
default SyncJobStatus.Builder error(Consumer<ErrorDetails.Builder> 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:
error(ErrorDetails)
-
-