com.amazonaws.services.elasticbeanstalk.model

## クラス CreateApplicationVersionRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticbeanstalk.model.CreateApplicationVersionRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class CreateApplicationVersionRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateApplicationVersion operation`.

  Creates an application version for the specified application.

  NOTE:Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

  関連項目:
    `AWSElasticBeanstalk.createApplicationVersion(CreateApplicationVersionRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `CreateApplicationVersionRequest()` Default constructor for a new CreateApplicationVersionRequest object.
    `CreateApplicationVersionRequest(java.lang.String applicationName, java.lang.String versionLabel)` Constructs a new CreateApplicationVersionRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getApplicationName()` The name of the application.
    `java.lang.Boolean` | `getAutoCreateApplication()` Determines how the system behaves if the specified application for this version does not already exist: `true`: Automatically creates the specified application for this version if it does not already exist.
    `java.lang.String` | `getDescription()` Describes this version.
    `S3Location` | `getSourceBundle()` The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    `java.lang.String` | `getVersionLabel()` A label identifying this version.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isAutoCreateApplication()` Determines how the system behaves if the specified application for this version does not already exist: `true`: Automatically creates the specified application for this version if it does not already exist.
    `void` | `setApplicationName(java.lang.String applicationName)` The name of the application.
    `void` | `setAutoCreateApplication(java.lang.Boolean autoCreateApplication)` Determines how the system behaves if the specified application for this version does not already exist: `true`: Automatically creates the specified application for this version if it does not already exist.
    `void` | `setDescription(java.lang.String description)` Describes this version.
    `void` | `setSourceBundle(S3Location sourceBundle)` The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    `void` | `setVersionLabel(java.lang.String versionLabel)` A label identifying this version.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateApplicationVersionRequest` | `withApplicationName(java.lang.String applicationName)` The name of the application.
    `CreateApplicationVersionRequest` | `withAutoCreateApplication(java.lang.Boolean autoCreateApplication)` Determines how the system behaves if the specified application for this version does not already exist: `true`: Automatically creates the specified application for this version if it does not already exist.
    `CreateApplicationVersionRequest` | `withDescription(java.lang.String description)` Describes this version.
    `CreateApplicationVersionRequest` | `withSourceBundle(S3Location sourceBundle)` The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    `CreateApplicationVersionRequest` | `withVersionLabel(java.lang.String versionLabel)` A label identifying this version.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### CreateApplicationVersionRequest

          public CreateApplicationVersionRequest()

      Default constructor for a new CreateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### CreateApplicationVersionRequest

          public CreateApplicationVersionRequest(java.lang.String applicationName,
                                         java.lang.String versionLabel)

      Constructs a new CreateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `applicationName` - The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.
        `versionLabel` - A label identifying this version.

        Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

  - ### メソッドの詳細

    - #### getApplicationName

          public java.lang.String getApplicationName()

      The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

      Constraints:
      Length: 1 - 100

      戻り値:
        The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

    - #### setApplicationName

          public void setApplicationName(java.lang.String applicationName)

      The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `applicationName` - The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

    - #### withApplicationName

          public CreateApplicationVersionRequest withApplicationName(java.lang.String applicationName)

      The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `applicationName` - The name of the application. If no application is found with this name, and `AutoCreateApplication` is `false`, returns an `InvalidParameterValue` error.

    - #### getVersionLabel

          public java.lang.String getVersionLabel()

      A label identifying this version.

      Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Constraints:
      Length: 1 - 100

      戻り値:
        A label identifying this version.

        Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

    - #### setVersionLabel

          public void setVersionLabel(java.lang.String versionLabel)

      A label identifying this version.

      Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `versionLabel` - A label identifying this version.

        Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

    - #### withVersionLabel

          public CreateApplicationVersionRequest withVersionLabel(java.lang.String versionLabel)

      A label identifying this version.

      Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `versionLabel` - A label identifying this version.

        Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

    - #### getDescription

          public java.lang.String getDescription()

      Describes this version.

      Constraints:
      Length: 0 - 200

      戻り値:
        Describes this version.

    - #### setDescription

          public void setDescription(java.lang.String description)

      Describes this version.

      Constraints:
      Length: 0 - 200

      パラメータ:
        `description` - Describes this version.

    - #### withDescription

          public CreateApplicationVersionRequest withDescription(java.lang.String description)

      Describes this version.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 0 - 200

      パラメータ:
        `description` - Describes this version.

    - #### getSourceBundle

          public S3Location getSourceBundle()

      The Amazon S3 bucket and key that identify the location of the source bundle for this version.

      If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

      戻り値:
        The Amazon S3 bucket and key that identify the location of the source bundle for this version.

        If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

        Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

    - #### setSourceBundle

          public void setSourceBundle(S3Location sourceBundle)

      The Amazon S3 bucket and key that identify the location of the source bundle for this version.

      If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

      パラメータ:
        `sourceBundle` - The Amazon S3 bucket and key that identify the location of the source bundle for this version.

        If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

        Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

    - #### withSourceBundle

          public CreateApplicationVersionRequest withSourceBundle(S3Location sourceBundle)

      The Amazon S3 bucket and key that identify the location of the source bundle for this version.

      If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

      Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `sourceBundle` - The Amazon S3 bucket and key that identify the location of the source bundle for this version.

        If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an `InvalidParameterValue` error.

        Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an `InvalidParameterCombination` error.

    - #### isAutoCreateApplication

          public java.lang.Boolean isAutoCreateApplication()

      Determines how the system behaves if the specified application for this version does not already exist:

      `true`: Automatically creates the specified application for this version if it does not already exist.

      `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

      - `true` : Automatically creates the specified application for this release if it does not already exist.
      - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

      Default: `false`

      Valid Values: `true` | `false`

      戻り値:
        Determines how the system behaves if the specified application for this version does not already exist:

        `true`: Automatically creates the specified application for this version if it does not already exist.

        `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

        - `true` : Automatically creates the specified application for this release if it does not already exist.
        - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

        Default: `false`

        Valid Values: `true` | `false`

    - #### setAutoCreateApplication

          public void setAutoCreateApplication(java.lang.Boolean autoCreateApplication)

      Determines how the system behaves if the specified application for this version does not already exist:

      `true`: Automatically creates the specified application for this version if it does not already exist.

      `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

      - `true` : Automatically creates the specified application for this release if it does not already exist.
      - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

      Default: `false`

      Valid Values: `true` | `false`

      パラメータ:
        `autoCreateApplication` - Determines how the system behaves if the specified application for this version does not already exist:

        `true`: Automatically creates the specified application for this version if it does not already exist.

        `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

        - `true` : Automatically creates the specified application for this release if it does not already exist.
        - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

        Default: `false`

        Valid Values: `true` | `false`

    - #### withAutoCreateApplication

          public CreateApplicationVersionRequest withAutoCreateApplication(java.lang.Boolean autoCreateApplication)

      Determines how the system behaves if the specified application for this version does not already exist:

      `true`: Automatically creates the specified application for this version if it does not already exist.

      `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

      - `true` : Automatically creates the specified application for this release if it does not already exist.
      - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

      Default: `false`

      Valid Values: `true` | `false`

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `autoCreateApplication` - Determines how the system behaves if the specified application for this version does not already exist:

        `true`: Automatically creates the specified application for this version if it does not already exist.

        `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

        - `true` : Automatically creates the specified application for this release if it does not already exist.
        - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

        Default: `false`

        Valid Values: `true` | `false`

    - #### getAutoCreateApplication

          public java.lang.Boolean getAutoCreateApplication()

      Determines how the system behaves if the specified application for this version does not already exist:

      `true`: Automatically creates the specified application for this version if it does not already exist.

      `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

      - `true` : Automatically creates the specified application for this release if it does not already exist.
      - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

      Default: `false`

      Valid Values: `true` | `false`

      戻り値:
        Determines how the system behaves if the specified application for this version does not already exist:

        `true`: Automatically creates the specified application for this version if it does not already exist.

        `false`: Returns an `InvalidParameterValue` if the specified application for this version does not already exist.

        - `true` : Automatically creates the specified application for this release if it does not already exist.
        - `false` : Throws an `InvalidParameterValue` if the specified application for this release does not already exist.

        Default: `false`

        Valid Values: `true` | `false`

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`