public class CreateAppRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateApp operation.
Creates an app for a specified stack. For more information, see Creating Apps .
| コンストラクタと説明 |
|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - The stack ID.public CreateAppRequest withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - The stack ID.public java.lang.String getShortname()
public void setShortname(java.lang.String shortname)
shortname - The app's short name.public CreateAppRequest withShortname(java.lang.String shortname)
Returns a reference to this object so that method calls can be chained together.
shortname - The app's short name.public java.lang.String getName()
public void setName(java.lang.String name)
name - The app name.public CreateAppRequest withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name - The app name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - A description of the app.public CreateAppRequest withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the app.public java.lang.String getType()
Constraints:
Allowed Values: rails, php, nodejs, static, other
AppTypepublic void setType(java.lang.String type)
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.AppTypepublic CreateAppRequest withType(java.lang.String type)
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.AppTypepublic void setType(AppType type)
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.AppTypepublic CreateAppRequest withType(AppType type)
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.AppTypepublic Source getAppSource()
Source object that specifies the app repository.Source object that specifies the app repository.public void setAppSource(Source appSource)
Source object that specifies the app repository.appSource - A Source object that specifies the app repository.public CreateAppRequest withAppSource(Source appSource)
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.public java.util.List<java.lang.String> getDomains()
'www.example.com, example.com''www.example.com, example.com'public void setDomains(java.util.Collection<java.lang.String> domains)
'www.example.com, example.com'domains - The app virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'public CreateAppRequest withDomains(java.lang.String... domains)
'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'public CreateAppRequest withDomains(java.util.Collection<java.lang.String> domains)
'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'public java.lang.Boolean isEnableSsl()
public void setEnableSsl(java.lang.Boolean enableSsl)
enableSsl - Whether to enable SSL for the app.public CreateAppRequest withEnableSsl(java.lang.Boolean enableSsl)
Returns a reference to this object so that method calls can be chained together.
enableSsl - Whether to enable SSL for the app.public java.lang.Boolean getEnableSsl()
public SslConfiguration getSslConfiguration()
SslConfiguration object with the SSL configuration.SslConfiguration object with the SSL configuration.public void setSslConfiguration(SslConfiguration sslConfiguration)
SslConfiguration object with the SSL configuration.sslConfiguration - An SslConfiguration object with the SSL configuration.public CreateAppRequest withSslConfiguration(SslConfiguration sslConfiguration)
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.public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - One or more user-defined key/value pairs to be added to the stack
attributes bag.public CreateAppRequest withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
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.public CreateAppRequest addAttributesEntry(java.lang.String key, java.lang.String value)
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.public CreateAppRequest clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object