Class UpdateAppRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesEntry
(String key, String value) Removes all the entries added into Attributes.clone()
Creates a shallow clone of this request.boolean
getAppId()
The app ID.ASource
object that specifies the app repository.One or more user-defined key/value pairs to be added to the stack attributes.The app's data sources.A description of the app.The app's virtual host settings, with multiple domains separated by commas.Whether SSL is enabled for the app.An array ofEnvironmentVariable
objects that specify environment variables to be associated with the app.getName()
The app name.AnSslConfiguration
object with the SSL configuration.getType()
The app type.int
hashCode()
Whether SSL is enabled for the app.void
The app ID.void
setAppSource
(Source appSource) ASource
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 ofEnvironmentVariable
objects that specify environment variables to be associated with the app.void
The app name.void
setSslConfiguration
(SslConfiguration sslConfiguration) AnSslConfiguration
object with the SSL configuration.void
The app type.void
The app type.toString()
Returns a string representation of this object; useful for testing and debugging.The app ID.withAppSource
(Source appSource) ASource
object that specifies the app repository.withAttributes
(Map<String, String> attributes) One or more user-defined key/value pairs to be added to the stack attributes.withDataSources
(DataSource... dataSources) The app's data sources.withDataSources
(Collection<DataSource> dataSources) The app's data sources.withDescription
(String description) A description of the app.withDomains
(String... domains) The app's virtual host settings, with multiple domains separated by commas.withDomains
(Collection<String> domains) The app's virtual host settings, with multiple domains separated by commas.withEnableSsl
(Boolean enableSsl) Whether SSL is enabled for the app.withEnvironment
(EnvironmentVariable... environment) An array ofEnvironmentVariable
objects that specify environment variables to be associated with the app.withEnvironment
(Collection<EnvironmentVariable> environment) An array ofEnvironmentVariable
objects that specify environment variables to be associated with the app.The app name.withSslConfiguration
(SslConfiguration sslConfiguration) AnSslConfiguration
object with the SSL configuration.The app type.The app type.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
UpdateAppRequest
public UpdateAppRequest()
-
-
Method Details
-
setAppId
The app ID.
- Parameters:
appId
- The app ID.
-
getAppId
The app ID.
- Returns:
- The app ID.
-
withAppId
The app ID.
- Parameters:
appId
- The app ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The app name.
- Parameters:
name
- The app name.
-
getName
The app name.
- Returns:
- The app name.
-
withName
The app name.
- Parameters:
name
- The app name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the app.
- Parameters:
description
- A description of the app.
-
getDescription
A description of the app.
- Returns:
- A description of the app.
-
withDescription
A description of the app.
- Parameters:
description
- A description of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDataSources
The app's data sources.
- Returns:
- The app's data sources.
-
setDataSources
The app's data sources.
- Parameters:
dataSources
- The app's data sources.
-
withDataSources
The app's data sources.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection)
orwithDataSources(java.util.Collection)
if you want to override the existing values.- Parameters:
dataSources
- The app's data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDataSources
The app's data sources.
- Parameters:
dataSources
- The app's data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
The app type.
- Parameters:
type
- The app type.- See Also:
-
getType
The app type.
- Returns:
- The app type.
- See Also:
-
withType
The app type.
- Parameters:
type
- The app type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The app type.
- Parameters:
type
- The app type.- See Also:
-
withType
The app type.
- Parameters:
type
- The app type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAppSource
A
Source
object that specifies the app repository.- Parameters:
appSource
- ASource
object that specifies the app repository.
-
getAppSource
A
Source
object that specifies the app repository.- Returns:
- A
Source
object that specifies the app repository.
-
withAppSource
A
Source
object that specifies the app repository.- Parameters:
appSource
- ASource
object that specifies the app repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDomains
The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
- Returns:
- The app's virtual host settings, with multiple domains separated
by commas. For example:
'www.example.com, example.com'
-
setDomains
The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
- Parameters:
domains
- The app's virtual host settings, with multiple domains separated by commas. For example:'www.example.com, example.com'
-
withDomains
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)
orwithDomains(java.util.Collection)
if you want to override the existing values.- Parameters:
domains
- The app's virtual host settings, with multiple domains separated by commas. For example:'www.example.com, example.com'
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDomains
The app's virtual host settings, with multiple domains separated by commas. For example:
'www.example.com, example.com'
- Parameters:
domains
- The app's virtual host settings, with multiple domains separated by commas. For example:'www.example.com, example.com'
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnableSsl
Whether SSL is enabled for the app.
- Parameters:
enableSsl
- Whether SSL is enabled for the app.
-
getEnableSsl
Whether SSL is enabled for the app.
- Returns:
- Whether SSL is enabled for the app.
-
withEnableSsl
Whether SSL is enabled for the app.
- Parameters:
enableSsl
- Whether SSL is enabled for the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableSsl
Whether SSL is enabled for the app.
- Returns:
- Whether SSL is enabled for the app.
-
setSslConfiguration
An
SslConfiguration
object with the SSL configuration.- Parameters:
sslConfiguration
- AnSslConfiguration
object with the SSL configuration.
-
getSslConfiguration
An
SslConfiguration
object with the SSL configuration.- Returns:
- An
SslConfiguration
object with the SSL configuration.
-
withSslConfiguration
An
SslConfiguration
object with the SSL configuration.- Parameters:
sslConfiguration
- AnSslConfiguration
object with the SSL configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
One or more user-defined key/value pairs to be added to the stack attributes.
- Returns:
- One or more user-defined key/value pairs to be added to the stack attributes.
-
setAttributes
One or more user-defined key/value pairs to be added to the stack attributes.
- Parameters:
attributes
- One or more user-defined key/value pairs to be added to the stack attributes.
-
withAttributes
One or more user-defined key/value pairs to be added to the stack attributes.
- Parameters:
attributes
- One or more user-defined key/value pairs to be added to the stack attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAttributesEntry
-
clearAttributesEntries
Removes all the entries added into Attributes. <p> Returns a reference to this object so that method calls can be chained together. -
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - Returns:
- 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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
-
setEnvironment
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - Parameters:
environment
- An array ofEnvironmentVariable
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
-
withEnvironment
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. NOTE: This method appends the values to the existing list (if any). Use
setEnvironment(java.util.Collection)
orwithEnvironment(java.util.Collection)
if you want to override the existing values.- Parameters:
environment
- An array ofEnvironmentVariable
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEnvironment
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - Parameters:
environment
- An array ofEnvironmentVariable
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)."
This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-