Interface UpdatePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdatePermissionsResponse.Builder,
,UpdatePermissionsResponse> GrafanaResponse.Builder
,SdkBuilder<UpdatePermissionsResponse.Builder,
,UpdatePermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdatePermissionsResponse
public static interface UpdatePermissionsResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<UpdatePermissionsResponse.Builder,UpdatePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<UpdateError> errors) An array of structures that contain the errors from the operation, if any.errors
(Consumer<UpdateError.Builder>... errors) An array of structures that contain the errors from the operation, if any.errors
(UpdateError... errors) An array of structures that contain the errors from the operation, if any.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
An array of structures that contain the errors from the operation, if any.
- Parameters:
errors
- An array of structures that contain the errors from the operation, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An array of structures that contain the errors from the operation, if any.
- Parameters:
errors
- An array of structures that contain the errors from the operation, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An array of structures that contain the errors from the operation, if any.
This is a convenience method that creates an instance of theUpdateError.Builder
avoiding the need to create one manually viaUpdateError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<UpdateError>)
.- Parameters:
errors
- a consumer that will call methods onUpdateError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-