CopyableBuilder<App.Builder,App>
, SdkBuilder<App.Builder,App>
public static interface App.Builder extends CopyableBuilder<App.Builder,App>
Modifier and Type | Method | Description |
---|---|---|
App.Builder |
appId(String appId) |
The app ID.
|
App.Builder |
appSource(Source appSource) |
A
Source object that describes the app repository. |
App.Builder |
attributes(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(DataSource... dataSources) |
The app's data sources.
|
App.Builder |
description(String description) |
A description of the app.
|
App.Builder |
domains(String... domains) |
The app vhost settings with multiple domains separated by commas.
|
App.Builder |
domains(Collection<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(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.
|
App.Builder |
sslConfiguration(SslConfiguration sslConfiguration) |
An
SslConfiguration object with the SSL configuration. |
App.Builder |
stackId(String stackId) |
The app stack ID.
|
App.Builder |
type(String type) |
The app type.
|
App.Builder |
type(AppType type) |
The app type.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setDataSources(java.util.Collection)
or #withDataSources(java.util.Collection)
if you want
to override the existing values.
dataSources
- The app's data sources.App.Builder type(String type)
The app type.
type
- The app type.AppType
App.Builder type(AppType type)
The app type.
type
- The app type.AppType
App.Builder appSource(Source appSource)
A Source
object that describes the app repository.
appSource
- A Source
object that describes the app repository.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'
NOTE: This method appends the values to the existing list (if any). Use
#setDomains(java.util.Collection)
or #withDomains(java.util.Collection)
if you want to
override the existing values.
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.App.Builder attributes(Map<String,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.
NOTE: This method appends the values to the existing list (if any). Use
#setEnvironment(java.util.Collection)
or #withEnvironment(java.util.Collection)
if you want
to override the existing values.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.