CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
, SdkBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
public static interface UpdateAppRequest.Builder extends CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateAppRequest.Builder |
appId(String appId) |
The app ID.
|
UpdateAppRequest.Builder |
appSource(Source appSource) |
A
Source object that specifies the app repository. |
UpdateAppRequest.Builder |
attributes(Map<String,String> attributes) |
One or more user-defined key/value pairs to be added to the stack attributes.
|
UpdateAppRequest.Builder |
dataSources(Collection<DataSource> dataSources) |
The app's data sources.
|
UpdateAppRequest.Builder |
dataSources(DataSource... dataSources) |
The app's data sources.
|
UpdateAppRequest.Builder |
description(String description) |
A description of the app.
|
UpdateAppRequest.Builder |
domains(String... domains) |
The app's virtual host settings, with multiple domains separated by commas.
|
UpdateAppRequest.Builder |
domains(Collection<String> domains) |
The app's virtual host settings, with multiple domains separated by commas.
|
UpdateAppRequest.Builder |
enableSsl(Boolean enableSsl) |
Whether SSL is enabled for the app.
|
UpdateAppRequest.Builder |
environment(Collection<EnvironmentVariable> environment) |
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
UpdateAppRequest.Builder |
environment(EnvironmentVariable... environment) |
An array of
EnvironmentVariable objects that specify environment variables to be associated with
the app. |
UpdateAppRequest.Builder |
name(String name) |
The app name.
|
UpdateAppRequest.Builder |
sslConfiguration(SslConfiguration sslConfiguration) |
An
SslConfiguration object with the SSL configuration. |
UpdateAppRequest.Builder |
type(String type) |
The app type.
|
UpdateAppRequest.Builder |
type(AppType type) |
The app type.
|
copy
apply, build
UpdateAppRequest.Builder appId(String appId)
The app ID.
appId
- The app ID.UpdateAppRequest.Builder name(String name)
The app name.
name
- The app name.UpdateAppRequest.Builder description(String description)
A description of the app.
description
- A description of the app.UpdateAppRequest.Builder dataSources(Collection<DataSource> dataSources)
The app's data sources.
dataSources
- The app's data sources.UpdateAppRequest.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.UpdateAppRequest.Builder type(String type)
The app type.
type
- The app type.AppType
UpdateAppRequest.Builder type(AppType type)
The app type.
type
- The app type.AppType
UpdateAppRequest.Builder appSource(Source appSource)
A Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.UpdateAppRequest.Builder domains(Collection<String> domains)
The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
domains
- The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
UpdateAppRequest.Builder domains(String... domains)
The app's 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's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
UpdateAppRequest.Builder enableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.
enableSsl
- Whether SSL is enabled for the app.UpdateAppRequest.Builder sslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL configuration.UpdateAppRequest.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.UpdateAppRequest.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 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 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 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.
UpdateAppRequest.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 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 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 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.