public static interface DescribeEc2InstanceLimitsResponse.Builder extends GameLiftResponse.Builder, CopyableBuilder<DescribeEc2InstanceLimitsResponse.Builder,DescribeEc2InstanceLimitsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeEc2InstanceLimitsResponse.Builder |
ec2InstanceLimits(Collection<EC2InstanceLimit> ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
|
DescribeEc2InstanceLimitsResponse.Builder |
ec2InstanceLimits(Consumer<EC2InstanceLimit.Builder>... ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
|
DescribeEc2InstanceLimitsResponse.Builder |
ec2InstanceLimits(EC2InstanceLimit... ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeEc2InstanceLimitsResponse.Builder ec2InstanceLimits(Collection<EC2InstanceLimit> ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
ec2InstanceLimits
- Object that contains the maximum number of instances for the specified instance type.DescribeEc2InstanceLimitsResponse.Builder ec2InstanceLimits(EC2InstanceLimit... ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
ec2InstanceLimits
- Object that contains the maximum number of instances for the specified instance type.DescribeEc2InstanceLimitsResponse.Builder ec2InstanceLimits(Consumer<EC2InstanceLimit.Builder>... ec2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #ec2InstanceLimits(List)
.ec2InstanceLimits
- a consumer that will call methods on List.Builder
#ec2InstanceLimits(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.