public class UpdateAppRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
appId
The app ID.
|
private Source |
appSource
A
Source object that specifies the app repository. |
private SdkInternalMap<java.lang.String,java.lang.String> |
attributes
One or more user-defined key/value pairs to be added to the stack
attributes.
|
private SdkInternalList<DataSource> |
dataSources
The app's data sources.
|
private java.lang.String |
description
A description of the app.
|
private SdkInternalList<java.lang.String> |
domains
The app's virtual host settings, with multiple domains separated by
commas.
|
private java.lang.Boolean |
enableSsl
Whether SSL is enabled for the app.
|
private SdkInternalList<EnvironmentVariable> |
environment
An array of
EnvironmentVariable objects that specify
environment variables to be associated with the app. |
private java.lang.String |
name
The app name.
|
private SslConfiguration |
sslConfiguration
An
SslConfiguration object with the SSL configuration. |
private java.lang.String |
type
The app type.
|
NOOP
Constructor and Description |
---|
UpdateAppRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAppRequest |
addAttributesEntry(java.lang.String key,
java.lang.String value) |
UpdateAppRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
UpdateAppRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppId()
The app ID.
|
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.
|
java.util.List<DataSource> |
getDataSources()
The app's data sources.
|
java.lang.String |
getDescription()
A description of the app.
|
java.util.List<java.lang.String> |
getDomains()
The app's virtual host settings, with multiple domains separated by
commas.
|
java.lang.Boolean |
getEnableSsl()
Whether SSL is enabled for the app.
|
java.util.List<EnvironmentVariable> |
getEnvironment()
An array of
EnvironmentVariable objects that specify
environment variables to be associated with the app. |
java.lang.String |
getName()
The app name.
|
SslConfiguration |
getSslConfiguration()
An
SslConfiguration object with the SSL configuration. |
java.lang.String |
getType()
The app type.
|
int |
hashCode() |
java.lang.Boolean |
isEnableSsl()
Whether SSL is enabled for the app.
|
void |
setAppId(java.lang.String appId)
The app ID.
|
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.
|
void |
setDataSources(java.util.Collection<DataSource> dataSources)
The app's data sources.
|
void |
setDescription(java.lang.String description)
A description of the app.
|
void |
setDomains(java.util.Collection<java.lang.String> domains)
The app's virtual host settings, with multiple domains separated by
commas.
|
void |
setEnableSsl(java.lang.Boolean enableSsl)
Whether SSL is enabled for the app.
|
void |
setEnvironment(java.util.Collection<EnvironmentVariable> environment)
An array of
EnvironmentVariable objects that specify
environment variables to be associated with the app. |
void |
setName(java.lang.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(java.lang.String type)
The app type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAppRequest |
withAppId(java.lang.String appId)
The app ID.
|
UpdateAppRequest |
withAppSource(Source appSource)
A
Source object that specifies the app repository. |
UpdateAppRequest |
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.
|
UpdateAppRequest |
withDataSources(java.util.Collection<DataSource> dataSources)
The app's data sources.
|
UpdateAppRequest |
withDataSources(DataSource... dataSources)
The app's data sources.
|
UpdateAppRequest |
withDescription(java.lang.String description)
A description of the app.
|
UpdateAppRequest |
withDomains(java.util.Collection<java.lang.String> domains)
The app's virtual host settings, with multiple domains separated by
commas.
|
UpdateAppRequest |
withDomains(java.lang.String... domains)
The app's virtual host settings, with multiple domains separated by
commas.
|
UpdateAppRequest |
withEnableSsl(java.lang.Boolean enableSsl)
Whether SSL is enabled for the app.
|
UpdateAppRequest |
withEnvironment(java.util.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(java.lang.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(java.lang.String type)
The app type.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String appId
The app ID.
private java.lang.String name
The app name.
private java.lang.String description
A description of the app.
private SdkInternalList<DataSource> dataSources
The app's data sources.
private java.lang.String type
The app type.
private Source appSource
A Source
object that specifies the app repository.
private SdkInternalList<java.lang.String> domains
The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
private java.lang.Boolean enableSsl
Whether SSL is enabled for the app.
private SslConfiguration sslConfiguration
An SslConfiguration
object with the SSL configuration.
private SdkInternalMap<java.lang.String,java.lang.String> attributes
One or more user-defined key/value pairs to be added to the stack attributes.
private SdkInternalList<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)."
public void setAppId(java.lang.String appId)
The app ID.
appId
- The app ID.public java.lang.String getAppId()
The app ID.
public UpdateAppRequest withAppId(java.lang.String appId)
The app ID.
appId
- The app ID.public void setName(java.lang.String name)
The app name.
name
- The app name.public java.lang.String getName()
The app name.
public UpdateAppRequest withName(java.lang.String name)
The app name.
name
- The app name.public void setDescription(java.lang.String description)
A description of the app.
description
- A description of the app.public java.lang.String getDescription()
A description of the app.
public UpdateAppRequest withDescription(java.lang.String description)
A description of the app.
description
- A description of the app.public java.util.List<DataSource> getDataSources()
The app's data sources.
public void setDataSources(java.util.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(java.util.Collection<DataSource> dataSources)
The app's data sources.
dataSources
- The app's data sources.public void setType(java.lang.String type)
The app type.
type
- The app type.AppType
public java.lang.String getType()
The app type.
AppType
public UpdateAppRequest withType(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.Boolean enableSsl)
Whether SSL is enabled for the app.
enableSsl
- Whether SSL is enabled for the app.public java.lang.Boolean getEnableSsl()
Whether SSL is enabled for the app.
public UpdateAppRequest withEnableSsl(java.lang.Boolean enableSsl)
Whether SSL is enabled for the app.
enableSsl
- Whether SSL is enabled for the app.public java.lang.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 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.
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.
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.public UpdateAppRequest 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.
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes.public UpdateAppRequest addAttributesEntry(java.lang.String key, java.lang.String value)
public UpdateAppRequest clearAttributesEntries()
public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()