Interface UpdateAppRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>,OpsWorksRequest.Builder,SdkBuilder<UpdateAppRequest.Builder,UpdateAppRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAppRequest
public static interface UpdateAppRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateAppRequest.BuilderappId(String appId)The app ID.default UpdateAppRequest.BuilderappSource(Consumer<Source.Builder> appSource)ASourceobject that specifies the app repository.UpdateAppRequest.BuilderappSource(Source appSource)ASourceobject that specifies the app repository.UpdateAppRequest.Builderattributes(Map<AppAttributesKeys,String> attributes)One or more user-defined key/value pairs to be added to the stack attributes.UpdateAppRequest.BuilderattributesWithStrings(Map<String,String> attributes)One or more user-defined key/value pairs to be added to the stack attributes.UpdateAppRequest.BuilderdataSources(Collection<DataSource> dataSources)The app's data sources.UpdateAppRequest.BuilderdataSources(Consumer<DataSource.Builder>... dataSources)The app's data sources.UpdateAppRequest.BuilderdataSources(DataSource... dataSources)The app's data sources.UpdateAppRequest.Builderdescription(String description)A description of the app.UpdateAppRequest.Builderdomains(String... domains)The app's virtual host settings, with multiple domains separated by commas.UpdateAppRequest.Builderdomains(Collection<String> domains)The app's virtual host settings, with multiple domains separated by commas.UpdateAppRequest.BuilderenableSsl(Boolean enableSsl)Whether SSL is enabled for the app.UpdateAppRequest.Builderenvironment(Collection<EnvironmentVariable> environment)An array ofEnvironmentVariableobjects that specify environment variables to be associated with the app.UpdateAppRequest.Builderenvironment(Consumer<EnvironmentVariable.Builder>... environment)An array ofEnvironmentVariableobjects that specify environment variables to be associated with the app.UpdateAppRequest.Builderenvironment(EnvironmentVariable... environment)An array ofEnvironmentVariableobjects that specify environment variables to be associated with the app.UpdateAppRequest.Buildername(String name)The app name.UpdateAppRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAppRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateAppRequest.BuildersslConfiguration(Consumer<SslConfiguration.Builder> sslConfiguration)AnSslConfigurationobject with the SSL configuration.UpdateAppRequest.BuildersslConfiguration(SslConfiguration sslConfiguration)AnSslConfigurationobject with the SSL configuration.UpdateAppRequest.Buildertype(String type)The app type.UpdateAppRequest.Buildertype(AppType type)The app type.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appId
UpdateAppRequest.Builder appId(String appId)
The app ID.
- Parameters:
appId- The app ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateAppRequest.Builder name(String name)
The app name.
- Parameters:
name- The app name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateAppRequest.Builder description(String description)
A description of the app.
- Parameters:
description- A description of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
UpdateAppRequest.Builder dataSources(Collection<DataSource> dataSources)
The app's data sources.
- Parameters:
dataSources- The app's data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
UpdateAppRequest.Builder dataSources(DataSource... dataSources)
The app's data sources.
- Parameters:
dataSources- The app's data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
UpdateAppRequest.Builder dataSources(Consumer<DataSource.Builder>... dataSources)
The app's data sources.
This is a convenience method that creates an instance of theDataSource.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSources(List.) - Parameters:
dataSources- a consumer that will call methods onDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataSources(java.util.Collection)
-
type
UpdateAppRequest.Builder type(String type)
The app type.
-
type
UpdateAppRequest.Builder type(AppType type)
The app type.
-
appSource
UpdateAppRequest.Builder appSource(Source appSource)
A
Sourceobject that specifies the app repository.- Parameters:
appSource- ASourceobject that specifies the app repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appSource
default UpdateAppRequest.Builder appSource(Consumer<Source.Builder> appSource)
A
This is a convenience method that creates an instance of theSourceobject that specifies the app repository.Source.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappSource(Source).- Parameters:
appSource- a consumer that will call methods onSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
appSource(Source)
-
domains
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'- Parameters:
domains- The app's virtual host settings, with multiple domains separated by commas. For example:'www.example.com, example.com'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
UpdateAppRequest.Builder domains(String... domains)
The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'- Parameters:
domains- The app's virtual host settings, with multiple domains separated by commas. For example:'www.example.com, example.com'- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSsl
UpdateAppRequest.Builder enableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.
- Parameters:
enableSsl- Whether SSL is enabled for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sslConfiguration
UpdateAppRequest.Builder sslConfiguration(SslConfiguration sslConfiguration)
An
SslConfigurationobject with the SSL configuration.- Parameters:
sslConfiguration- AnSslConfigurationobject with the SSL configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sslConfiguration
default UpdateAppRequest.Builder sslConfiguration(Consumer<SslConfiguration.Builder> sslConfiguration)
An
This is a convenience method that creates an instance of theSslConfigurationobject with the SSL configuration.SslConfiguration.Builderavoiding the need to create one manually viaSslConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosslConfiguration(SslConfiguration).- Parameters:
sslConfiguration- a consumer that will call methods onSslConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sslConfiguration(SslConfiguration)
-
attributesWithStrings
UpdateAppRequest.Builder attributesWithStrings(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.
- Parameters:
attributes- One or more user-defined key/value pairs to be added to the stack attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
UpdateAppRequest.Builder attributes(Map<AppAttributesKeys,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.
- Parameters:
attributes- One or more user-defined key/value pairs to be added to the stack attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
UpdateAppRequest.Builder environment(Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariableobjects 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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
- Parameters:
environment- An array ofEnvironmentVariableobjects 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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
UpdateAppRequest.Builder environment(EnvironmentVariable... environment)
An array of
EnvironmentVariableobjects 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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
- Parameters:
environment- An array ofEnvironmentVariableobjects 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 20 KB. 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 20 KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
UpdateAppRequest.Builder environment(Consumer<EnvironmentVariable.Builder>... environment)
An array of
EnvironmentVariableobjects 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 20 KB. 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 20 KB)."
This is a convenience method that creates an instance of theIf you have specified one or more environment variables, you cannot modify the stack's Chef version.
EnvironmentVariable.Builderavoiding the need to create one manually viaEnvironmentVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#environment(List.) - Parameters:
environment- a consumer that will call methods onEnvironmentVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#environment(java.util.Collection)
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-