public static interface InstanceNetworking.Builder extends CopyableBuilder<InstanceNetworking.Builder,InstanceNetworking>
Modifier and Type | Method and Description |
---|---|
default InstanceNetworking.Builder |
monthlyTransfer(Consumer<MonthlyTransfer.Builder> monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
|
InstanceNetworking.Builder |
monthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
|
InstanceNetworking.Builder |
ports(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
|
InstanceNetworking.Builder |
ports(Consumer<InstancePortInfo.Builder>... ports)
An array of key-value pairs containing information about the ports on the instance.
|
InstanceNetworking.Builder |
ports(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
|
copy
applyMutation, build
InstanceNetworking.Builder monthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
monthlyTransfer
- The amount of data in GB allocated for monthly data transfers.default InstanceNetworking.Builder monthlyTransfer(Consumer<MonthlyTransfer.Builder> monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
This is a convenience that creates an instance of theMonthlyTransfer.Builder
avoiding the need to
create one manually via MonthlyTransfer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to monthlyTransfer(MonthlyTransfer)
.monthlyTransfer
- a consumer that will call methods on MonthlyTransfer.Builder
monthlyTransfer(MonthlyTransfer)
InstanceNetworking.Builder ports(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
ports
- An array of key-value pairs containing information about the ports on the instance.InstanceNetworking.Builder ports(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
ports
- An array of key-value pairs containing information about the ports on the instance.InstanceNetworking.Builder ports(Consumer<InstancePortInfo.Builder>... ports)
An array of key-value pairs containing information about the ports on the instance.
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 #ports(List)
.ports
- a consumer that will call methods on List.Builder
#ports(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.