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
copyMethods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAuthenticationDescription.builder().When the
Consumercompletes,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:
-