Interface DescribeAuthenticationProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAuthenticationProfilesResponse.Builder,
,DescribeAuthenticationProfilesResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeAuthenticationProfilesResponse.Builder,
,DescribeAuthenticationProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAuthenticationProfilesResponse
public static interface DescribeAuthenticationProfilesResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeAuthenticationProfilesResponse.Builder,DescribeAuthenticationProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationProfiles
(Collection<AuthenticationProfile> authenticationProfiles) The list of authentication profiles.authenticationProfiles
(Consumer<AuthenticationProfile.Builder>... authenticationProfiles) The list of authentication profiles.authenticationProfiles
(AuthenticationProfile... authenticationProfiles) The list of authentication profiles.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
authenticationProfiles
DescribeAuthenticationProfilesResponse.Builder authenticationProfiles(Collection<AuthenticationProfile> authenticationProfiles) The list of authentication profiles.
- Parameters:
authenticationProfiles
- The list of authentication profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationProfiles
DescribeAuthenticationProfilesResponse.Builder authenticationProfiles(AuthenticationProfile... authenticationProfiles) The list of authentication profiles.
- Parameters:
authenticationProfiles
- The list of authentication profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationProfiles
DescribeAuthenticationProfilesResponse.Builder authenticationProfiles(Consumer<AuthenticationProfile.Builder>... authenticationProfiles) The list of authentication profiles.
This is a convenience method that creates an instance of theAuthenticationProfile.Builder
avoiding the need to create one manually viaAuthenticationProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationProfiles(List<AuthenticationProfile>)
.- Parameters:
authenticationProfiles
- a consumer that will call methods onAuthenticationProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-