Interface DescribeAccountAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAccountAttributesResponse.Builder,
,DescribeAccountAttributesResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeAccountAttributesResponse.Builder,
,DescribeAccountAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAccountAttributesResponse
public static interface DescribeAccountAttributesResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccountAttributesResponse.Builder,DescribeAccountAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountAttributes
(Collection<AccountAttribute> accountAttributes) A list of attributes assigned to an account.accountAttributes
(Consumer<AccountAttribute.Builder>... accountAttributes) A list of attributes assigned to an account.accountAttributes
(AccountAttribute... accountAttributes) A list of attributes assigned to an account.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
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Collection<AccountAttribute> accountAttributes) A list of attributes assigned to an account.
- Parameters:
accountAttributes
- A list of attributes assigned to an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
A list of attributes assigned to an account.
- Parameters:
accountAttributes
- A list of attributes assigned to an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Consumer<AccountAttribute.Builder>... accountAttributes) A list of attributes assigned to an account.
This is a convenience method that creates an instance of theAccountAttribute.Builder
avoiding the need to create one manually viaAccountAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountAttributes(List<AccountAttribute>)
.- Parameters:
accountAttributes
- a consumer that will call methods onAccountAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-