Interface DescribeIdFormatResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeIdFormatResponse.Builder,,DescribeIdFormatResponse> Ec2Response.Builder,SdkBuilder<DescribeIdFormatResponse.Builder,,DescribeIdFormatResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeIdFormatResponse
public static interface DescribeIdFormatResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeIdFormatResponse.Builder,DescribeIdFormatResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstatuses(Collection<IdFormat> statuses) Information about the ID format for the resource.statuses(Consumer<IdFormat.Builder>... statuses) Information about the ID format for the resource.Information about the ID format for the resource.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
-
statuses
Information about the ID format for the resource.
- Parameters:
statuses- Information about the ID format for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
Information about the ID format for the resource.
- Parameters:
statuses- Information about the ID format for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
Information about the ID format for the resource.
This is a convenience method that creates an instance of theIdFormat.Builderavoiding the need to create one manually viaIdFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatuses(List<IdFormat>).- Parameters:
statuses- a consumer that will call methods onIdFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-