public class App
extends java.lang.Object
implements java.io.Serializable
A description of the app.
| コンストラクタと説明 |
|---|
App() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
App |
addAttributesEntry(java.lang.String key,
java.lang.String value)
The contents of the stack attributes bag.
|
App |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppId()
The app ID.
|
Source |
getAppSource()
A
Source object that describes the app repository. |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
The contents of the stack attributes bag.
|
java.lang.String |
getCreatedAt()
When the app was created.
|
java.lang.String |
getDescription()
A description of the app.
|
java.util.List<java.lang.String> |
getDomains()
The app vhost 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 app stack ID.
|
java.lang.String |
getType()
The app type.
|
int |
hashCode() |
java.lang.Boolean |
isEnableSsl()
Whether to enable SSL for the app.
|
void |
setAppId(java.lang.String appId)
The app ID.
|
void |
setAppSource(Source appSource)
A
Source object that describes the app repository. |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The contents of the stack attributes bag.
|
void |
setCreatedAt(java.lang.String createdAt)
When the app was created.
|
void |
setDescription(java.lang.String description)
A description of the app.
|
void |
setDomains(java.util.Collection<java.lang.String> domains)
The app vhost 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 app 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.
|
App |
withAppId(java.lang.String appId)
The app ID.
|
App |
withAppSource(Source appSource)
A
Source object that describes the app repository. |
App |
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The contents of the stack attributes bag.
|
App |
withCreatedAt(java.lang.String createdAt)
When the app was created.
|
App |
withDescription(java.lang.String description)
A description of the app.
|
App |
withDomains(java.util.Collection<java.lang.String> domains)
The app vhost settings, with multiple domains separated by commas.
|
App |
withDomains(java.lang.String... domains)
The app vhost settings, with multiple domains separated by commas.
|
App |
withEnableSsl(java.lang.Boolean enableSsl)
Whether to enable SSL for the app.
|
App |
withName(java.lang.String name)
The app name.
|
App |
withShortname(java.lang.String shortname)
The app's short name.
|
App |
withSslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
App |
withStackId(java.lang.String stackId)
The app stack ID.
|
App |
withType(AppType type)
The app type.
|
App |
withType(java.lang.String type)
The app type.
|
public java.lang.String getAppId()
public void setAppId(java.lang.String appId)
appId - The app ID.public App withAppId(java.lang.String appId)
Returns a reference to this object so that method calls can be chained together.
appId - The app ID.public java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - The app stack ID.public App withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - The app stack ID.public java.lang.String getShortname()
public void setShortname(java.lang.String shortname)
shortname - The app's short name.public App 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 App 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 App 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.AppTypepublic App 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.AppTypepublic void setType(AppType type)
Constraints:
Allowed Values: rails, php, nodejs, static, other
type - The app type.AppTypepublic App 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.AppTypepublic Source getAppSource()
Source object that describes the app repository.Source object that describes the app repository.public void setAppSource(Source appSource)
Source object that describes the app repository.appSource - A Source object that describes the app repository.public App withAppSource(Source appSource)
Source object that describes the app repository.
Returns a reference to this object so that method calls can be chained together.
appSource - A Source object that describes 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 vhost settings, with multiple domains separated by commas. For
example: 'www.example.com, example.com'public App 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 vhost settings, with multiple domains separated by commas. For
example: 'www.example.com, example.com'public App 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 vhost 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 App 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 App 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 - The contents of the stack attributes bag.public App 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 - The contents of the stack attributes bag.public App 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 App clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getCreatedAt()
public void setCreatedAt(java.lang.String createdAt)
createdAt - When the app was created.public App withCreatedAt(java.lang.String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt - When the app was created.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