Interface IndexStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IndexStatus.Builder,
,IndexStatus> SdkBuilder<IndexStatus.Builder,
,IndexStatus> SdkPojo
- Enclosing class:
IndexStatus
@Mutable
@NotThreadSafe
public static interface IndexStatus.Builder
extends SdkPojo, CopyableBuilder<IndexStatus.Builder,IndexStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndexStatus.Builder
errorDetails
(Consumer<ErrorDetails.Builder> errorDetails) Details about any error that occurred during the index operation.errorDetails
(ErrorDetails errorDetails) Details about any error that occurred during the index operation.default IndexStatus.Builder
index
(Consumer<Index.Builder> index) Sets the value of the Index property for this object.Sets the value of the Index property for this object.The current status of the index operation.status
(OperationStatus status) The current status of the index operation.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
-
status
The current status of the index operation. Valid values are
SUCCEEDED
,FAILED
,IN_PROGRESS
, orSKIPPED
.- Parameters:
status
- The current status of the index operation. Valid values areSUCCEEDED
,FAILED
,IN_PROGRESS
, orSKIPPED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the index operation. Valid values are
SUCCEEDED
,FAILED
,IN_PROGRESS
, orSKIPPED
.- Parameters:
status
- The current status of the index operation. Valid values areSUCCEEDED
,FAILED
,IN_PROGRESS
, orSKIPPED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
index
Sets the value of the Index property for this object.- Parameters:
index
- The new value for the Index property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
index
Sets the value of the Index property for this object. This is a convenience method that creates an instance of theIndex.Builder
avoiding the need to create one manually viaIndex.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindex(Index)
.- Parameters:
index
- a consumer that will call methods onIndex.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetails
Details about any error that occurred during the index operation.
- Parameters:
errorDetails
- Details about any error that occurred during the index operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Details about any error that occurred during the index operation.
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 toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- 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:
-