public static interface CreateCloudFormationStackRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateCloudFormationStackRequest.Builder,CreateCloudFormationStackRequest>
Modifier and Type | Method and Description |
---|---|
CreateCloudFormationStackRequest.Builder |
instances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
CreateCloudFormationStackRequest.Builder |
instances(Consumer<InstanceEntry.Builder>... instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
CreateCloudFormationStackRequest.Builder |
instances(InstanceEntry... instances)
An array of parameters that will be used to create the new Amazon EC2 instance.
|
CreateCloudFormationStackRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateCloudFormationStackRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateCloudFormationStackRequest.Builder instances(Collection<InstanceEntry> instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
instances
- An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one
instance entry at a time in this array. You will get an invalid parameter error if you pass more than
one instance entry in this array.CreateCloudFormationStackRequest.Builder instances(InstanceEntry... instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
instances
- An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one
instance entry at a time in this array. You will get an invalid parameter error if you pass more than
one instance entry in this array.CreateCloudFormationStackRequest.Builder instances(Consumer<InstanceEntry.Builder>... instances)
An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.
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 #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
CreateCloudFormationStackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateCloudFormationStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.