com.amazonaws.services.opsworks.model

## クラス CreateAppRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.opsworks.model.CreateAppRequest

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

      public class CreateAppRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateApp operation`.

  Creates an app for a specified stack. For more information, see Creating Apps .

  関連項目:
    `AWSOpsWorks.createApp(CreateAppRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateAppRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `CreateAppRequest` | `addAttributesEntry(java.lang.String key, java.lang.String value)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `CreateAppRequest` | `clearAttributesEntries()` Removes all the entries added into Attributes.
    `boolean` | `equals(java.lang.Object obj)`
    `Source` | `getAppSource()` A `Source` object that specifies the app repository.
    `java.util.Map<java.lang.String,java.lang.String>` | `getAttributes()` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `java.lang.String` | `getDescription()` A description of the app.
    `java.util.List<java.lang.String>` | `getDomains()` The app virtual host settings, with multiple domains separated by commas.
    `java.lang.Boolean` | `getEnableSsl()` Whether to enable SSL for the app.
    `java.lang.String` | `getName()` The app name.
    `java.lang.String` | `getShortname()` The app's short name.
    `SslConfiguration` | `getSslConfiguration()` An `SslConfiguration` object with the SSL configuration.
    `java.lang.String` | `getStackId()` The stack ID.
    `java.lang.String` | `getType()` The app type.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEnableSsl()` Whether to enable SSL for the app.
    `void` | `setAppSource(Source appSource)` A `Source` object that specifies the app repository.
    `void` | `setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `void` | `setDescription(java.lang.String description)` A description of the app.
    `void` | `setDomains(java.util.Collection<java.lang.String> domains)` The app virtual host settings, with multiple domains separated by commas.
    `void` | `setEnableSsl(java.lang.Boolean enableSsl)` Whether to enable SSL for the app.
    `void` | `setName(java.lang.String name)` The app name.
    `void` | `setShortname(java.lang.String shortname)` The app's short name.
    `void` | `setSslConfiguration(SslConfiguration sslConfiguration)` An `SslConfiguration` object with the SSL configuration.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `void` | `setType(AppType type)` The app type.
    `void` | `setType(java.lang.String type)` The app type.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateAppRequest` | `withAppSource(Source appSource)` A `Source` object that specifies the app repository.
    `CreateAppRequest` | `withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `CreateAppRequest` | `withDescription(java.lang.String description)` A description of the app.
    `CreateAppRequest` | `withDomains(java.util.Collection<java.lang.String> domains)` The app virtual host settings, with multiple domains separated by commas.
    `CreateAppRequest` | `withDomains(java.lang.String... domains)` The app virtual host settings, with multiple domains separated by commas.
    `CreateAppRequest` | `withEnableSsl(java.lang.Boolean enableSsl)` Whether to enable SSL for the app.
    `CreateAppRequest` | `withName(java.lang.String name)` The app name.
    `CreateAppRequest` | `withShortname(java.lang.String shortname)` The app's short name.
    `CreateAppRequest` | `withSslConfiguration(SslConfiguration sslConfiguration)` An `SslConfiguration` object with the SSL configuration.
    `CreateAppRequest` | `withStackId(java.lang.String stackId)` The stack ID.
    `CreateAppRequest` | `withType(AppType type)` The app type.
    `CreateAppRequest` | `withType(java.lang.String type)` The app type.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateAppRequest

          public CreateAppRequest()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      The stack ID.
      戻り値:
        The stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      The stack ID.
      パラメータ:
        `stackId` - The stack ID.

    - #### withStackId

          public CreateAppRequest withStackId(java.lang.String stackId)

      The stack ID.

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

      パラメータ:
        `stackId` - The stack ID.

    - #### getShortname

          public java.lang.String getShortname()

      The app's short name.
      戻り値:
        The app's short name.

    - #### setShortname

          public void setShortname(java.lang.String shortname)

      The app's short name.
      パラメータ:
        `shortname` - The app's short name.

    - #### withShortname

          public CreateAppRequest withShortname(java.lang.String shortname)

      The app's short name.

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

      パラメータ:
        `shortname` - The app's short name.

    - #### getName

          public java.lang.String getName()

      The app name.
      戻り値:
        The app name.

    - #### setName

          public void setName(java.lang.String name)

      The app name.
      パラメータ:
        `name` - The app name.

    - #### withName

          public CreateAppRequest withName(java.lang.String name)

      The app name.

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

      パラメータ:
        `name` - The app name.

    - #### getDescription

          public java.lang.String getDescription()

      A description of the app.
      戻り値:
        A description of the app.

    - #### setDescription

          public void setDescription(java.lang.String description)

      A description of the app.
      パラメータ:
        `description` - A description of the app.

    - #### withDescription

          public CreateAppRequest withDescription(java.lang.String description)

      A description of the app.

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

      パラメータ:
        `description` - A description of the app.

    - #### getType

          public java.lang.String getType()

      The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.

      Constraints:
      Allowed Values: rails, php, nodejs, static, other

      戻り値:
        The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.
      関連項目:
        `AppType`

    - #### setType

          public void setType(java.lang.String type)

      The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.

      Constraints:
      Allowed Values: rails, php, nodejs, static, other

      パラメータ:
        `type` - The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.
      関連項目:
        `AppType`

    - #### withType

          public CreateAppRequest withType(java.lang.String type)

      The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.

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

      Constraints:
      Allowed Values: rails, php, nodejs, static, other

      パラメータ:
        `type` - The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.
      関連項目:
        `AppType`

    - #### setType

          public void setType(AppType type)

      The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.

      Constraints:
      Allowed Values: rails, php, nodejs, static, other

      パラメータ:
        `type` - The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.
      関連項目:
        `AppType`

    - #### withType

          public CreateAppRequest withType(AppType type)

      The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.

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

      Constraints:
      Allowed Values: rails, php, nodejs, static, other

      パラメータ:
        `type` - The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.
      関連項目:
        `AppType`

    - #### getAppSource

          public Source getAppSource()

      A `Source` object that specifies the app repository.
      戻り値:
        A `Source` object that specifies the app repository.

    - #### setAppSource

          public void setAppSource(Source appSource)

      A `Source` object that specifies the app repository.
      パラメータ:
        `appSource` - A `Source` object that specifies the app repository.

    - #### withAppSource

          public CreateAppRequest withAppSource(Source appSource)

      A `Source` object that specifies the app repository.

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

      パラメータ:
        `appSource` - A `Source` object that specifies the app repository.

    - #### getDomains

          public java.util.List<java.lang.String> getDomains()

      The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`
      戻り値:
        The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

    - #### setDomains

          public void setDomains(java.util.Collection<java.lang.String> domains)

      The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`
      パラメータ:
        `domains` - The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

    - #### withDomains

          public CreateAppRequest withDomains(java.lang.String... domains)

      The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

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

      パラメータ:
        `domains` - The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

    - #### withDomains

          public CreateAppRequest withDomains(java.util.Collection<java.lang.String> domains)

      The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

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

      パラメータ:
        `domains` - The app virtual host settings, with multiple domains separated by commas. For example: `'www.example.com, example.com'`

    - #### isEnableSsl

          public java.lang.Boolean isEnableSsl()

      Whether to enable SSL for the app.
      戻り値:
        Whether to enable SSL for the app.

    - #### setEnableSsl

          public void setEnableSsl(java.lang.Boolean enableSsl)

      Whether to enable SSL for the app.
      パラメータ:
        `enableSsl` - Whether to enable SSL for the app.

    - #### withEnableSsl

          public CreateAppRequest withEnableSsl(java.lang.Boolean enableSsl)

      Whether to enable SSL for the app.

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

      パラメータ:
        `enableSsl` - Whether to enable SSL for the app.

    - #### getEnableSsl

          public java.lang.Boolean getEnableSsl()

      Whether to enable SSL for the app.
      戻り値:
        Whether to enable SSL for the app.

    - #### getSslConfiguration

          public SslConfiguration getSslConfiguration()

      An `SslConfiguration` object with the SSL configuration.
      戻り値:
        An `SslConfiguration` object with the SSL configuration.

    - #### setSslConfiguration

          public void setSslConfiguration(SslConfiguration sslConfiguration)

      An `SslConfiguration` object with the SSL configuration.
      パラメータ:
        `sslConfiguration` - An `SslConfiguration` object with the SSL configuration.

    - #### withSslConfiguration

          public CreateAppRequest withSslConfiguration(SslConfiguration sslConfiguration)

      An `SslConfiguration` object with the SSL configuration.

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

      パラメータ:
        `sslConfiguration` - An `SslConfiguration` object with the SSL configuration.

    - #### getAttributes

          public java.util.Map<java.lang.String,java.lang.String> getAttributes()

      One or more user-defined key/value pairs to be added to the stack attributes bag.
      戻り値:
        One or more user-defined key/value pairs to be added to the stack attributes bag.

    - #### setAttributes

          public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)

      One or more user-defined key/value pairs to be added to the stack attributes bag.
      パラメータ:
        `attributes` - One or more user-defined key/value pairs to be added to the stack attributes bag.

    - #### withAttributes

          public CreateAppRequest withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)

      One or more user-defined key/value pairs to be added to the stack attributes bag.

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

    - #### addAttributesEntry

          public CreateAppRequest addAttributesEntry(java.lang.String key,
                                            java.lang.String value)

      One or more user-defined key/value pairs to be added to the stack attributes bag.

      The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Attributes.
        `value` - The corresponding value of the entry to be added into Attributes.

    - #### clearAttributesEntries

          public CreateAppRequest clearAttributesEntries()

      Removes all the entries added into Attributes.

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

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