Interface DescribeAccountAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccountAttributesResponse.Builder,,DescribeAccountAttributesResponse> OpsWorksCmResponse.Builder,SdkBuilder<DescribeAccountAttributesResponse.Builder,,DescribeAccountAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAccountAttributesResponse
public static interface DescribeAccountAttributesResponse.Builder
extends OpsWorksCmResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccountAttributesResponse.Builder,DescribeAccountAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<AccountAttribute> attributes) The attributes that are currently set for the account.attributes(Consumer<AccountAttribute.Builder>... attributes) The attributes that are currently set for the account.attributes(AccountAttribute... attributes) The attributes that are currently set for the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmResponse.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
-
attributes
The attributes that are currently set for the account.
- Parameters:
attributes- The attributes that are currently set for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes that are currently set for the account.
- Parameters:
attributes- The attributes that are currently set for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
DescribeAccountAttributesResponse.Builder attributes(Consumer<AccountAttribute.Builder>... attributes) The attributes that are currently set for the account.
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 toattributes(List<AccountAttribute>).- Parameters:
attributes- 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:
-