Interface CreateCloudFormationStackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCloudFormationStackRequest.Builder,,CreateCloudFormationStackRequest> LightsailRequest.Builder,SdkBuilder<CreateCloudFormationStackRequest.Builder,,CreateCloudFormationStackRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCloudFormationStackRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstances(Collection<InstanceEntry> instances) An array of parameters that will be used to create the new Amazon EC2 instance.instances(Consumer<InstanceEntry.Builder>... instances) An array of parameters that will be used to create the new Amazon EC2 instance.instances(InstanceEntry... instances) An array of parameters that will be used to create the new Amazon EC2 instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theInstanceEntry.Builderavoiding the need to create one manually viaInstanceEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstances(List<InstanceEntry>).- Parameters:
instances- a consumer that will call methods onInstanceEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCloudFormationStackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCloudFormationStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-