Interface DescribeWorkspaceAuthenticationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkspaceAuthenticationResponse.Builder,
,DescribeWorkspaceAuthenticationResponse> GrafanaResponse.Builder
,SdkBuilder<DescribeWorkspaceAuthenticationResponse.Builder,
,DescribeWorkspaceAuthenticationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWorkspaceAuthenticationResponse
public static interface DescribeWorkspaceAuthenticationResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspaceAuthenticationResponse.Builder,DescribeWorkspaceAuthenticationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthentication
(Consumer<AuthenticationDescription.Builder> authentication) A structure containing information about the authentication methods used in the workspace.authentication
(AuthenticationDescription authentication) A structure containing information about the authentication methods used in the workspace.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
DescribeWorkspaceAuthenticationResponse.Builder authentication(AuthenticationDescription authentication) A structure containing information about the authentication methods used in the workspace.
- Parameters:
authentication
- A structure containing information about the authentication methods used in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default DescribeWorkspaceAuthenticationResponse.Builder authentication(Consumer<AuthenticationDescription.Builder> authentication) A structure containing information about the authentication methods used in the workspace.
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:
-