Interface DescribeAccountAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccountAttributesResponse.Builder,,DescribeAccountAttributesResponse> Ec2Response.Builder,SdkBuilder<DescribeAccountAttributesResponse.Builder,,DescribeAccountAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAccountAttributesResponse
public static interface DescribeAccountAttributesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeAccountAttributesResponse.Builder,DescribeAccountAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountAttributes(Collection<AccountAttribute> accountAttributes) Information about the account attributes.accountAttributes(Consumer<AccountAttribute.Builder>... accountAttributes) Information about the account attributes.accountAttributes(AccountAttribute... accountAttributes) Information about the account attributes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Collection<AccountAttribute> accountAttributes) Information about the account attributes.
- Parameters:
accountAttributes- Information about the account attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
Information about the account attributes.
- Parameters:
accountAttributes- Information about the account attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAttributes
DescribeAccountAttributesResponse.Builder accountAttributes(Consumer<AccountAttribute.Builder>... accountAttributes) Information about the account attributes.
This is a convenience method that creates an instance of theAccountAttribute.Builderavoiding the need to create one manually viaAccountAttribute.builder().When the
Consumercompletes,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:
-