Interface DatasetStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetStatus.Builder,DatasetStatus>,SdkBuilder<DatasetStatus.Builder,DatasetStatus>,SdkPojo
- Enclosing class:
- DatasetStatus
public static interface DatasetStatus.Builder extends SdkPojo, CopyableBuilder<DatasetStatus.Builder,DatasetStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DatasetStatus.Buildererror(Consumer<ErrorDetails.Builder> error)Sets the value of the Error property for this object.DatasetStatus.Buildererror(ErrorDetails error)Sets the value of the Error property for this object.DatasetStatus.Builderstate(String state)The current status of the dataset.DatasetStatus.Builderstate(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 Detail
-
state
DatasetStatus.Builder state(String 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:
DatasetState,DatasetState
-
state
DatasetStatus.Builder state(DatasetState 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:
DatasetState,DatasetState
-
error
DatasetStatus.Builder error(ErrorDetails 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
default DatasetStatus.Builder error(Consumer<ErrorDetails.Builder> error)
Sets the value of the Error property for this object. 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)
-
-