Interface UpdateWorkspaceAuthenticationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateWorkspaceAuthenticationResponse.Builder,
,UpdateWorkspaceAuthenticationResponse> GrafanaResponse.Builder
,SdkBuilder<UpdateWorkspaceAuthenticationResponse.Builder,
,UpdateWorkspaceAuthenticationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateWorkspaceAuthenticationResponse
public static interface UpdateWorkspaceAuthenticationResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkspaceAuthenticationResponse.Builder,UpdateWorkspaceAuthenticationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthentication
(Consumer<AuthenticationDescription.Builder> authentication) A structure that describes the user authentication for this workspace after the update is made.authentication
(AuthenticationDescription authentication) A structure that describes the user authentication for this workspace after the update is made.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
-
authentication
UpdateWorkspaceAuthenticationResponse.Builder authentication(AuthenticationDescription authentication) A structure that describes the user authentication for this workspace after the update is made.
- Parameters:
authentication
- A structure that describes the user authentication for this workspace after the update is made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default UpdateWorkspaceAuthenticationResponse.Builder authentication(Consumer<AuthenticationDescription.Builder> authentication) A structure that describes the user authentication for this workspace after the update is made.
This is a convenience method that creates an instance of theAuthenticationDescription.Builder
avoiding the need to create one manually viaAuthenticationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthentication(AuthenticationDescription)
.- Parameters:
authentication
- a consumer that will call methods onAuthenticationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-