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