Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> ElasticBeanstalkRequest.Builder
,SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the application.description
(String description) Your description of the application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateApplicationRequest.Builder
resourceLifecycleConfig
(Consumer<ApplicationResourceLifecycleConfig.Builder> resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.resourceLifecycleConfig
(ApplicationResourceLifecycleConfig resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.tags
(Collection<Tag> tags) Specifies the tags applied to the application.tags
(Consumer<Tag.Builder>... tags) Specifies the tags applied to the application.Specifies the tags applied to the application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of the application. Must be unique within your account.
- Parameters:
applicationName
- The name of the application. Must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Your description of the application.
- Parameters:
description
- Your description of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceLifecycleConfig
CreateApplicationRequest.Builder resourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
- Parameters:
resourceLifecycleConfig
- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceLifecycleConfig
default CreateApplicationRequest.Builder resourceLifecycleConfig(Consumer<ApplicationResourceLifecycleConfig.Builder> resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
This is a convenience method that creates an instance of theApplicationResourceLifecycleConfig.Builder
avoiding the need to create one manually viaApplicationResourceLifecycleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceLifecycleConfig(ApplicationResourceLifecycleConfig)
.- Parameters:
resourceLifecycleConfig
- a consumer that will call methods onApplicationResourceLifecycleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
- Parameters:
tags
- Specifies the tags applied to the application.Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
- Parameters:
tags
- Specifies the tags applied to the application.Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-