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