Interface BatchGetControlError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetControlError.Builder,,BatchGetControlError> SdkBuilder<BatchGetControlError.Builder,,BatchGetControlError> SdkPojo
- Enclosing class:
BatchGetControlError
@Mutable
@NotThreadSafe
public static interface BatchGetControlError.Builder
extends SdkPojo, CopyableBuilder<BatchGetControlError.Builder,BatchGetControlError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code.default BatchGetControlError.Builderkey(Consumer<ControlKey.Builder> key) The identifier of the control that the operation could not retrieve.key(ControlKey key) The identifier of the control that the operation could not retrieve.A human-readable explanation of why the operation could not return this control.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The identifier of the control that the operation could not retrieve.
- Parameters:
key- The identifier of the control that the operation could not retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The identifier of the control that the operation could not retrieve.
This is a convenience method that creates an instance of theControlKey.Builderavoiding the need to create one manually viaControlKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokey(ControlKey).- Parameters:
key- a consumer that will call methods onControlKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.
- Parameters:
code- The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A human-readable explanation of why the operation could not return this control. Intended for display and logging; match on
codefor programmatic handling.- Parameters:
message- A human-readable explanation of why the operation could not return this control. Intended for display and logging; match oncodefor programmatic handling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-