|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.UpdateAppRequest
public class UpdateAppRequest
Container for the parameters to the UpdateApp operation
.
Updates a specified app.
AWSOpsWorks.updateApp(UpdateAppRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateAppRequest()
|
Method Summary | |
---|---|
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 bag. |
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. |
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 bag. |
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 |
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 bag. |
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 |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateAppRequest()
Method Detail |
---|
public String getAppId()
public void setAppId(String appId)
appId
- The app ID.public UpdateAppRequest withAppId(String appId)
Returns a reference to this object so that method calls can be chained together.
appId
- The app ID.
public String getName()
public void setName(String name)
name
- The app name.public UpdateAppRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The app name.
public String getDescription()
public void setDescription(String description)
description
- A description of the app.public UpdateAppRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the app.
public String getType()
Constraints:
Allowed Values: rails, php, nodejs, static, other
AppType
public void setType(String type)
Constraints:
Allowed Values: rails, php, nodejs, static, other
type
- The app type.AppType
public UpdateAppRequest withType(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.
AppType
public void setType(AppType type)
Constraints:
Allowed Values: rails, php, nodejs, static, other
type
- The app type.AppType
public UpdateAppRequest 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.
AppType
public Source getAppSource()
Source
object that specifies the app repository.
Source
object that specifies the app repository.public void setAppSource(Source appSource)
Source
object that specifies the app repository.
appSource
- A Source
object that specifies the app repository.public UpdateAppRequest withAppSource(Source appSource)
Source
object that specifies the app repository.
Returns a reference to this object so that method calls can be chained together.
appSource
- A Source
object that specifies the app repository.
public List<String> getDomains()
'www.example.com, example.com'
'www.example.com, example.com'
public void setDomains(Collection<String> domains)
'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)
'www.example.com, example.com'
Returns a reference to this object so that method calls can be chained together.
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)
'www.example.com, example.com'
Returns a reference to this object so that method calls can be chained together.
domains
- The app's virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
public Boolean isEnableSsl()
public void setEnableSsl(Boolean enableSsl)
enableSsl
- Whether SSL is enabled for the app.public UpdateAppRequest withEnableSsl(Boolean enableSsl)
Returns a reference to this object so that method calls can be chained together.
enableSsl
- Whether SSL is enabled for the app.
public 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 UpdateAppRequest 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 Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes bag.public UpdateAppRequest withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes bag.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |