Interface DatasetStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetStatus.Builder,
,DatasetStatus> SdkBuilder<DatasetStatus.Builder,
,DatasetStatus> SdkPojo
- Enclosing class:
DatasetStatus
@Mutable
@NotThreadSafe
public static interface DatasetStatus.Builder
extends SdkPojo, CopyableBuilder<DatasetStatus.Builder,DatasetStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetStatus.Builder
error
(Consumer<ErrorDetails.Builder> error) Sets the value of the Error property for this object.error
(ErrorDetails error) Sets the value of the Error property for this object.The current status of the dataset.state
(DatasetState state) The current status of the dataset.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, sdkFieldNameToField, sdkFields
-
Method Details
-
state
The current status of the dataset.
- Parameters:
state
- The current status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current status of the dataset.
- Parameters:
state
- The current status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Sets the value of the Error property for this object.- Parameters:
error
- The new value for the Error property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Sets the value of the Error property for this object. This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,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:
-