public static interface App.Builder extends CopyableBuilder<App.Builder,App>
Modifier and Type | Method and Description |
---|---|
App.Builder |
appId(String appId)
The app ID.
|
default App.Builder |
appSource(Consumer<Source.Builder> appSource)
A
Source object that describes the app repository. |
App.Builder |
appSource(Source appSource)
A
Source object that describes the app repository. |
App.Builder |
attributes(Map<AppAttributesKeys,String> attributes)
The stack attributes.
|
App.Builder |
attributesWithStrings(Map<String,String> attributes)
The stack attributes.
|
App.Builder |
createdAt(String createdAt)
When the app was created.
|
App.Builder |
dataSources(Collection<DataSource> dataSources)
The app's data sources.
|
App.Builder |
dataSources(Consumer<DataSource.Builder>... dataSources)
The app's data sources.
|
App.Builder |
dataSources(DataSource... dataSources)
The app's data sources.
|
App.Builder |
description(String description)
A description of the app.
|
App.Builder |
domains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas.
|
App.Builder |
domains(String... domains)
The app vhost settings with multiple domains separated by commas.
|
App.Builder |
enableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
|
App.Builder |
environment(Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
App.Builder |
environment(Consumer<EnvironmentVariable.Builder>... environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
App.Builder |
environment(EnvironmentVariable... environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
App.Builder |
name(String name)
The app name.
|
App.Builder |
shortname(String shortname)
The app's short name.
|
default App.Builder |
sslConfiguration(Consumer<SslConfiguration.Builder> sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
App.Builder |
sslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
App.Builder |
stackId(String stackId)
The app stack ID.
|
App.Builder |
type(AppType type)
The app type.
|
App.Builder |
type(String type)
The app type.
|
copy
applyMutation, build
App.Builder appId(String appId)
The app ID.
appId
- The app ID.App.Builder stackId(String stackId)
The app stack ID.
stackId
- The app stack ID.App.Builder shortname(String shortname)
The app's short name.
shortname
- The app's short name.App.Builder name(String name)
The app name.
name
- The app name.App.Builder description(String description)
A description of the app.
description
- A description of the app.App.Builder dataSources(Collection<DataSource> dataSources)
The app's data sources.
dataSources
- The app's data sources.App.Builder dataSources(DataSource... dataSources)
The app's data sources.
dataSources
- The app's data sources.App.Builder dataSources(Consumer<DataSource.Builder>... dataSources)
The app's data sources.
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 #dataSources(List)
.dataSources
- a consumer that will call methods on List.Builder
#dataSources(List)
App.Builder type(String type)
The app type.
App.Builder type(AppType type)
The app type.
App.Builder appSource(Source appSource)
A Source
object that describes the app repository.
appSource
- A Source
object that describes the app repository.default App.Builder appSource(Consumer<Source.Builder> appSource)
A Source
object that describes the app repository.
Source.Builder
avoiding the need to create one
manually via Source.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to appSource(Source)
.appSource
- a consumer that will call methods on Source.Builder
appSource(Source)
App.Builder domains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
domains
- The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
App.Builder domains(String... domains)
The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
domains
- The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
App.Builder enableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
enableSsl
- Whether to enable SSL for the app.App.Builder sslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL configuration.default App.Builder sslConfiguration(Consumer<SslConfiguration.Builder> sslConfiguration)
An SslConfiguration
object with the SSL configuration.
SslConfiguration.Builder
avoiding the need to
create one manually via SslConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sslConfiguration(SslConfiguration)
.sslConfiguration
- a consumer that will call methods on SslConfiguration.Builder
sslConfiguration(SslConfiguration)
App.Builder attributesWithStrings(Map<String,String> attributes)
The stack attributes.
attributes
- The stack attributes.App.Builder attributes(Map<AppAttributesKeys,String> attributes)
The stack attributes.
attributes
- The stack attributes.App.Builder createdAt(String createdAt)
When the app was created.
createdAt
- When the app was created.App.Builder environment(Collection<EnvironmentVariable> environment)
An array of EnvironmentVariable
objects that specify environment variables to be associated with
the app. After you deploy the app, these variables are defined on the associated app server instances. For
more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message.
environment
- An array of EnvironmentVariable
objects that specify environment variables to be
associated with the app. After you deploy the app, these variables are defined on the associated app
server instances. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message.
App.Builder environment(EnvironmentVariable... environment)
An array of EnvironmentVariable
objects that specify environment variables to be associated with
the app. After you deploy the app, these variables are defined on the associated app server instances. For
more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message.
environment
- An array of EnvironmentVariable
objects that specify environment variables to be
associated with the app. After you deploy the app, these variables are defined on the associated app
server instances. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message.
App.Builder environment(Consumer<EnvironmentVariable.Builder>... environment)
An array of EnvironmentVariable
objects that specify environment variables to be associated with
the app. After you deploy the app, these variables are defined on the associated app server instances. For
more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 10KB)" message.
List.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 #environment(List)
.environment
- a consumer that will call methods on List.Builder
#environment(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.