CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
, SdkBuilder<CreateAppRequest.Builder,CreateAppRequest>
public static interface CreateAppRequest.Builder extends CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateAppRequest.Builder |
appSource(Source appSource) |
A
Source object that specifies the app repository. |
CreateAppRequest.Builder |
attributes(Map<String,String> attributes) |
One or more user-defined key/value pairs to be added to the stack attributes.
|
CreateAppRequest.Builder |
dataSources(Collection<DataSource> dataSources) |
The app's data source.
|
CreateAppRequest.Builder |
dataSources(DataSource... dataSources) |
The app's data source.
|
CreateAppRequest.Builder |
description(String description) |
A description of the app.
|
CreateAppRequest.Builder |
domains(String... domains) |
The app virtual host settings, with multiple domains separated by commas.
|
CreateAppRequest.Builder |
domains(Collection<String> domains) |
The app virtual host settings, with multiple domains separated by commas.
|
CreateAppRequest.Builder |
enableSsl(Boolean enableSsl) |
Whether to enable SSL for the app.
|
CreateAppRequest.Builder |
environment(Collection<EnvironmentVariable> environment) |
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
CreateAppRequest.Builder |
environment(EnvironmentVariable... environment) |
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
CreateAppRequest.Builder |
name(String name) |
The app name.
|
CreateAppRequest.Builder |
shortname(String shortname) |
The app's short name.
|
CreateAppRequest.Builder |
sslConfiguration(SslConfiguration sslConfiguration) |
An
SslConfiguration object with the SSL configuration. |
CreateAppRequest.Builder |
stackId(String stackId) |
The stack ID.
|
CreateAppRequest.Builder |
type(String type) |
The app type.
|
CreateAppRequest.Builder |
type(AppType type) |
The app type.
|
copy
apply, build
CreateAppRequest.Builder stackId(String stackId)
The stack ID.
stackId
- The stack ID.CreateAppRequest.Builder shortname(String shortname)
The app's short name.
shortname
- The app's short name.CreateAppRequest.Builder name(String name)
The app name.
name
- The app name.CreateAppRequest.Builder description(String description)
A description of the app.
description
- A description of the app.CreateAppRequest.Builder dataSources(Collection<DataSource> dataSources)
The app's data source.
dataSources
- The app's data source.CreateAppRequest.Builder dataSources(DataSource... dataSources)
The app's data source.
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 source.CreateAppRequest.Builder type(String type)
The app type. Each supported type is associated with a particular layer. For example, PHP applications are
associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members
of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own
Deploy recipes, specify other
.
type
- The app type. Each supported type is associated with a particular layer. For example, PHP applications
are associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that
are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to
implement your own Deploy recipes, specify other
.AppType
CreateAppRequest.Builder type(AppType type)
The app type. Each supported type is associated with a particular layer. For example, PHP applications are
associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members
of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own
Deploy recipes, specify other
.
type
- The app type. Each supported type is associated with a particular layer. For example, PHP applications
are associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that
are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to
implement your own Deploy recipes, specify other
.AppType
CreateAppRequest.Builder appSource(Source appSource)
A Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.CreateAppRequest.Builder domains(Collection<String> domains)
The app virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
domains
- The app virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
CreateAppRequest.Builder domains(String... domains)
The app virtual host 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 virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
CreateAppRequest.Builder enableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
enableSsl
- Whether to enable SSL for the app.CreateAppRequest.Builder sslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL configuration.CreateAppRequest.Builder attributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.
attributes
- One or more user-defined key/value pairs to be added to the stack attributes.CreateAppRequest.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 instance. 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
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 instance. 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
CreateAppRequest.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 instance. 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
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 instance. 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.