@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class App extends Object implements Serializable, Cloneable, StructuredPojo
A description of the app.
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
App |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
App |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
App |
clone() |
boolean |
equals(Object obj) |
String |
getAppId()
The app ID.
|
Source |
getAppSource()
A
Source object that describes the app repository. |
Map<String,String> |
getAttributes()
The stack attributes.
|
String |
getCreatedAt()
When the app was created.
|
List<DataSource> |
getDataSources()
The app's data sources.
|
String |
getDescription()
A description of the app.
|
List<String> |
getDomains()
The app vhost settings with multiple domains separated by commas.
|
Boolean |
getEnableSsl()
Whether to enable SSL for the app.
|
List<EnvironmentVariable> |
getEnvironment()
An array of
EnvironmentVariable objects that specify environment variables to be associated with the
app. |
String |
getName()
The app name.
|
String |
getShortname()
The app's short name.
|
SslConfiguration |
getSslConfiguration()
An
SslConfiguration object with the SSL configuration. |
String |
getStackId()
The app stack ID.
|
String |
getType()
The app type.
|
int |
hashCode() |
Boolean |
isEnableSsl()
Whether to enable SSL for the app.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppId(String appId)
The app ID.
|
void |
setAppSource(Source appSource)
A
Source object that describes the app repository. |
void |
setAttributes(Map<String,String> attributes)
The stack attributes.
|
void |
setCreatedAt(String createdAt)
When the app was created.
|
void |
setDataSources(Collection<DataSource> dataSources)
The app's data sources.
|
void |
setDescription(String description)
A description of the app.
|
void |
setDomains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas.
|
void |
setEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
|
void |
setEnvironment(Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with the
app. |
void |
setName(String name)
The app name.
|
void |
setShortname(String shortname)
The app's short name.
|
void |
setSslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
void |
setStackId(String stackId)
The app stack ID.
|
void |
setType(AppType type)
The app type.
|
void |
setType(String type)
The app type.
|
String |
toString()
Returns a string representation of this object.
|
App |
withAppId(String appId)
The app ID.
|
App |
withAppSource(Source appSource)
A
Source object that describes the app repository. |
App |
withAttributes(Map<String,String> attributes)
The stack attributes.
|
App |
withCreatedAt(String createdAt)
When the app was created.
|
App |
withDataSources(Collection<DataSource> dataSources)
The app's data sources.
|
App |
withDataSources(DataSource... dataSources)
The app's data sources.
|
App |
withDescription(String description)
A description of the app.
|
App |
withDomains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas.
|
App |
withDomains(String... domains)
The app vhost settings with multiple domains separated by commas.
|
App |
withEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
|
App |
withEnvironment(Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with the
app. |
App |
withEnvironment(EnvironmentVariable... environment)
An array of
EnvironmentVariable objects that specify environment variables to be associated with the
app. |
App |
withName(String name)
The app name.
|
App |
withShortname(String shortname)
The app's short name.
|
App |
withSslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
App |
withStackId(String stackId)
The app stack ID.
|
App |
withType(AppType type)
The app type.
|
App |
withType(String type)
The app type.
|
public void setAppId(String appId)
The app ID.
appId
- The app ID.public String getAppId()
The app ID.
public App withAppId(String appId)
The app ID.
appId
- The app ID.public void setStackId(String stackId)
The app stack ID.
stackId
- The app stack ID.public String getStackId()
The app stack ID.
public App withStackId(String stackId)
The app stack ID.
stackId
- The app stack ID.public void setShortname(String shortname)
The app's short name.
shortname
- The app's short name.public String getShortname()
The app's short name.
public App withShortname(String shortname)
The app's short name.
shortname
- The app's short name.public void setName(String name)
The app name.
name
- The app name.public String getName()
The app name.
public App withName(String name)
The app name.
name
- The app name.public void setDescription(String description)
A description of the app.
description
- A description of the app.public String getDescription()
A description of the app.
public App withDescription(String description)
A description of the app.
description
- A description of the app.public List<DataSource> getDataSources()
The app's data sources.
public void setDataSources(Collection<DataSource> dataSources)
The app's data sources.
dataSources
- The app's data sources.public App withDataSources(DataSource... dataSources)
The app's data sources.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection)
or withDataSources(java.util.Collection)
if you want to
override the existing values.
dataSources
- The app's data sources.public App withDataSources(Collection<DataSource> dataSources)
The app's data sources.
dataSources
- The app's data sources.public void setType(String type)
The app type.
type
- The app type.AppType
public App withType(String type)
The app type.
type
- The app type.AppType
public void setType(AppType type)
The app type.
type
- The app type.AppType
public App withType(AppType type)
The app type.
type
- The app type.AppType
public void setAppSource(Source appSource)
A Source
object that describes the app repository.
appSource
- A Source
object that describes the app repository.public Source getAppSource()
A Source
object that describes the app repository.
Source
object that describes the app repository.public App withAppSource(Source appSource)
A Source
object that describes the app repository.
appSource
- A Source
object that describes the app repository.public List<String> getDomains()
The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
'www.example.com, example.com'
public void setDomains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas. For example:
'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(String... domains)
The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
NOTE: This method appends the values to the existing list (if any). Use
setDomains(java.util.Collection)
or withDomains(java.util.Collection)
if you want to override
the existing values.
domains
- The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
public App withDomains(Collection<String> domains)
The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
domains
- The app vhost settings with multiple domains separated by commas. For example:
'www.example.com, example.com'
public void setEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
enableSsl
- Whether to enable SSL for the app.public Boolean getEnableSsl()
Whether to enable SSL for the app.
public App withEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.
enableSsl
- Whether to enable SSL for the app.public Boolean isEnableSsl()
Whether to enable SSL for the app.
public void setSslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL configuration.public SslConfiguration getSslConfiguration()
An SslConfiguration
object with the SSL configuration.
SslConfiguration
object with the SSL configuration.public App withSslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL configuration.public Map<String,String> getAttributes()
The stack attributes.
public void setAttributes(Map<String,String> attributes)
The stack attributes.
attributes
- The stack attributes.public App withAttributes(Map<String,String> attributes)
The stack attributes.
attributes
- The stack attributes.public App addAttributesEntry(String key, String value)
public App clearAttributesEntries()
public void setCreatedAt(String createdAt)
When the app was created.
createdAt
- When the app was created.public String getCreatedAt()
When the app was created.
public App withCreatedAt(String createdAt)
When the app was created.
createdAt
- When the app was created.public List<EnvironmentVariable> getEnvironment()
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
public void setEnvironment(Collection<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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
public App withEnvironment(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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironment(java.util.Collection)
or withEnvironment(java.util.Collection)
if you want to
override the existing values.
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
public App withEnvironment(Collection<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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.