public class UpdateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAppRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAppRequest |
addAttributesEntry(String key,
String value) |
UpdateAppRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
UpdateAppRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAppId()
The app ID.
|
Source |
getAppSource()
A
Source object that specifies the app repository. |
Map<String,String> |
getAttributes()
One or more user-defined key/value pairs to be added to the stack
attributes.
|
List<DataSource> |
getDataSources()
The app's data sources.
|
String |
getDescription()
A description of the app.
|
List<String> |
getDomains()
The app's virtual host settings, with multiple domains separated by
commas.
|
Boolean |
getEnableSsl()
Whether SSL is enabled 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.
|
SslConfiguration |
getSslConfiguration()
An
SslConfiguration object with the SSL configuration. |
String |
getType()
The app type.
|
int |
hashCode() |
Boolean |
isEnableSsl()
Whether SSL is enabled for the app.
|
void |
setAppId(String appId)
The app ID.
|
void |
setAppSource(Source appSource)
A
Source object that specifies the app repository. |
void |
setAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack
attributes.
|
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's virtual host settings, with multiple domains separated by
commas.
|
void |
setEnableSsl(Boolean enableSsl)
Whether SSL is enabled 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 |
setSslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
void |
setType(AppType type)
The app type.
|
void |
setType(String type)
The app type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAppRequest |
withAppId(String appId)
The app ID.
|
UpdateAppRequest |
withAppSource(Source appSource)
A
Source object that specifies the app repository. |
UpdateAppRequest |
withAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack
attributes.
|
UpdateAppRequest |
withDataSources(Collection<DataSource> dataSources)
The app's data sources.
|
UpdateAppRequest |
withDataSources(DataSource... dataSources)
The app's data sources.
|
UpdateAppRequest |
withDescription(String description)
A description of the app.
|
UpdateAppRequest |
withDomains(Collection<String> domains)
The app's virtual host settings, with multiple domains separated by
commas.
|
UpdateAppRequest |
withDomains(String... domains)
The app's virtual host settings, with multiple domains separated by
commas.
|
UpdateAppRequest |
withEnableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.
|
UpdateAppRequest |
withEnvironment(Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariable objects that specify
environment variables to be associated with the app. |
UpdateAppRequest |
withEnvironment(EnvironmentVariable... environment)
An array of
EnvironmentVariable objects that specify
environment variables to be associated with the app. |
UpdateAppRequest |
withName(String name)
The app name.
|
UpdateAppRequest |
withSslConfiguration(SslConfiguration sslConfiguration)
An
SslConfiguration object with the SSL configuration. |
UpdateAppRequest |
withType(AppType type)
The app type.
|
UpdateAppRequest |
withType(String type)
The app type.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppId(String appId)
The app ID.
appId
- The app ID.public String getAppId()
The app ID.
public UpdateAppRequest withAppId(String appId)
The app ID.
appId
- The app ID.public void setName(String name)
The app name.
name
- The app name.public String getName()
The app name.
public UpdateAppRequest 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 UpdateAppRequest 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 UpdateAppRequest 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 UpdateAppRequest 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 UpdateAppRequest 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 UpdateAppRequest withType(AppType type)
The app type.
type
- The app type.AppType
public void setAppSource(Source appSource)
A Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.public Source getAppSource()
A Source
object that specifies the app repository.
Source
object that specifies the app repository.public UpdateAppRequest withAppSource(Source appSource)
A Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.public List<String> getDomains()
The app's virtual host 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's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
domains
- The app's virtual host settings, with multiple domains separated
by commas. For example:
'www.example.com, example.com'
public UpdateAppRequest withDomains(String... domains)
The app's virtual host 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's virtual host settings, with multiple domains separated
by commas. For example:
'www.example.com, example.com'
public UpdateAppRequest withDomains(Collection<String> domains)
The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
domains
- The app's virtual host settings, with multiple domains separated
by commas. For example:
'www.example.com, example.com'
public void setEnableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.
enableSsl
- Whether SSL is enabled for the app.public Boolean getEnableSsl()
Whether SSL is enabled for the app.
public UpdateAppRequest withEnableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.
enableSsl
- Whether SSL is enabled for the app.public Boolean isEnableSsl()
Whether SSL is enabled 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 UpdateAppRequest withSslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration
object with the SSL configuration.
sslConfiguration
- An SslConfiguration
object with the SSL
configuration.public Map<String,String> getAttributes()
One or more user-defined key/value pairs to be added to the stack attributes.
public void setAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.public UpdateAppRequest withAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.public UpdateAppRequest addAttributesEntry(String key, String value)
public UpdateAppRequest clearAttributesEntries()
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
public UpdateAppRequest 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
public UpdateAppRequest 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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
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 variables' names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes). This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 10KB)."
public String toString()
toString
in class Object
Object.toString()
public UpdateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.