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 Details

    • 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

      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

      The app's data sources.

      This is a convenience method that creates an instance of the DataSource.Builder avoiding the need to create one manually via DataSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSources(List<DataSource>).

      Parameters:
      dataSources - a consumer that will call methods on DataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The app type.

      Parameters:
      type - The app type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The app type.

      Parameters:
      type - The app type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • appSource

      UpdateAppRequest.Builder appSource(Source appSource)

      A Source object that specifies the app repository.

      Parameters:
      appSource - A Source object 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 Source object that specifies the app repository.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      appSource - a consumer that will call methods on Source.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 SslConfiguration object with the SSL configuration.

      Parameters:
      sslConfiguration - An SslConfiguration object 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 SslConfiguration object with the SSL configuration.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      sslConfiguration - a consumer that will call methods on SslConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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 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 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 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 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 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 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 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

      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 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.

      This is a convenience method that creates an instance of the EnvironmentVariable.Builder avoiding the need to create one manually via EnvironmentVariable.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to environment(List<EnvironmentVariable>).

      Parameters:
      environment - a consumer that will call methods on EnvironmentVariable.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.