public static interface CreateAppRequest.Builder extends OpsWorksRequest.Builder, CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
Modifier and Type | Method and Description |
---|---|
default CreateAppRequest.Builder |
appSource(Consumer<Source.Builder> appSource)
A
Source object that specifies the app repository. |
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(Collection<String> domains)
The app virtual host settings, with multiple domains separated by commas.
|
CreateAppRequest.Builder |
domains(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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateAppRequest.Builder |
shortname(String shortname)
The app's short name.
|
default CreateAppRequest.Builder |
sslConfiguration(Consumer<SslConfiguration.Builder> sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
CreateAppRequest.Builder |
sslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
CreateAppRequest.Builder |
stackId(String stackId)
The stack ID.
|
CreateAppRequest.Builder |
type(AppType type)
The app type.
|
CreateAppRequest.Builder |
type(String type)
The app type.
|
build
requestOverrideConfig, requestOverrideConfig
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.
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
,
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
,
AppType
CreateAppRequest.Builder appSource(Source appSource)
A Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.default CreateAppRequest.Builder appSource(Consumer<Source.Builder> appSource)
A Source
object that specifies 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)
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'
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.default CreateAppRequest.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)
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.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.