public static interface ServiceSpecification.Builder extends SdkPojo, CopyableBuilder<ServiceSpecification.Builder,ServiceSpecification>
Modifier and Type | Method and Description |
---|---|
default ServiceSpecification.Builder |
ec2Specification(Consumer<EC2Specification.Builder> ec2Specification)
The EC2 hardware specifications that you want AWS to provide recommendations for.
|
ServiceSpecification.Builder |
ec2Specification(EC2Specification ec2Specification)
The EC2 hardware specifications that you want AWS to provide recommendations for.
|
copy
applyMutation, build
ServiceSpecification.Builder ec2Specification(EC2Specification ec2Specification)
The EC2 hardware specifications that you want AWS to provide recommendations for.
ec2Specification
- The EC2 hardware specifications that you want AWS to provide recommendations for.default ServiceSpecification.Builder ec2Specification(Consumer<EC2Specification.Builder> ec2Specification)
The EC2 hardware specifications that you want AWS to provide recommendations for.
This is a convenience that creates an instance of theEC2Specification.Builder
avoiding the need to
create one manually via EC2Specification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to ec2Specification(EC2Specification)
.ec2Specification
- a consumer that will call methods on EC2Specification.Builder
ec2Specification(EC2Specification)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.