Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class UpdateAppRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.UpdateAppRequest
All Implemented Interfaces:
Serializable

public class UpdateAppRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateApp operation.

Updates a specified app.

See Also:
AWSOpsWorks.updateApp(UpdateAppRequest), Serialized Form

Constructor 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

UpdateAppRequest

public UpdateAppRequest()
Method Detail

getAppId

public String getAppId()
The app ID.

Returns:
The app ID.

setAppId

public void setAppId(String appId)
The app ID.

Parameters:
appId - The app ID.

withAppId

public UpdateAppRequest withAppId(String appId)
The app ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
appId - The app ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The app name.

Returns:
The app name.

setName

public void setName(String name)
The app name.

Parameters:
name - The app name.

withName

public UpdateAppRequest withName(String name)
The app name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The app name.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A description of the app.

Returns:
A description of the app.

setDescription

public void setDescription(String description)
A description of the app.

Parameters:
description - A description of the app.

withDescription

public UpdateAppRequest withDescription(String description)
A description of the app.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A description of the app.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
The app type.

Constraints:
Allowed Values: rails, php, nodejs, static, other

Returns:
The app type.
See Also:
AppType

setType

public void setType(String type)
The app type.

Constraints:
Allowed Values: rails, php, nodejs, static, other

Parameters:
type - The app type.
See Also:
AppType

withType

public UpdateAppRequest withType(String type)
The app type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: rails, php, nodejs, static, other

Parameters:
type - The app type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AppType

setType

public void setType(AppType type)
The app type.

Constraints:
Allowed Values: rails, php, nodejs, static, other

Parameters:
type - The app type.
See Also:
AppType

withType

public UpdateAppRequest withType(AppType type)
The app type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: rails, php, nodejs, static, other

Parameters:
type - The app type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
AppType

getAppSource

public Source getAppSource()
A Source object that specifies the app repository.

Returns:
A Source object that specifies the app repository.

setAppSource

public void setAppSource(Source appSource)
A Source object that specifies the app repository.

Parameters:
appSource - A Source object that specifies the app repository.

withAppSource

public UpdateAppRequest withAppSource(Source appSource)
A Source object that specifies the app repository.

Returns a reference to this object so that method calls can be chained together.

Parameters:
appSource - A Source object that specifies the app repository.
Returns:
A reference to this updated object so that method calls can be chained together.

getDomains

public List<String> 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

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'

Parameters:
domains - The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

withDomains

public UpdateAppRequest withDomains(String... domains)
The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

Returns a reference to this object so that method calls can be chained together.

Parameters:
domains - The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
Returns:
A reference to this updated object so that method calls can be chained together.

withDomains

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'

Returns a reference to this object so that method calls can be chained together.

Parameters:
domains - The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
Returns:
A reference to this updated object so that method calls can be chained together.

isEnableSsl

public Boolean isEnableSsl()
Whether SSL is enabled for the app.

Returns:
Whether SSL is enabled for the app.

setEnableSsl

public void setEnableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.

Parameters:
enableSsl - Whether SSL is enabled for the app.

withEnableSsl

public UpdateAppRequest withEnableSsl(Boolean enableSsl)
Whether SSL is enabled for the app.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enableSsl - Whether SSL is enabled for the app.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnableSsl

public Boolean getEnableSsl()
Whether SSL is enabled for the app.

Returns:
Whether SSL is enabled for the app.

getSslConfiguration

public SslConfiguration getSslConfiguration()
An SslConfiguration object with the SSL configuration.

Returns:
An SslConfiguration object with the SSL configuration.

setSslConfiguration

public void setSslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration object with the SSL configuration.

Parameters:
sslConfiguration - An SslConfiguration object with the SSL configuration.

withSslConfiguration

public UpdateAppRequest withSslConfiguration(SslConfiguration sslConfiguration)
An SslConfiguration object with the SSL configuration.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sslConfiguration - An SslConfiguration object with the SSL configuration.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributes

public Map<String,String> getAttributes()
One or more user-defined key/value pairs to be added to the stack attributes bag.

Returns:
One or more user-defined key/value pairs to be added to the stack attributes bag.

setAttributes

public void setAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes bag.

Parameters:
attributes - One or more user-defined key/value pairs to be added to the stack attributes bag.

withAttributes

public UpdateAppRequest withAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes bag.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributes - One or more user-defined key/value pairs to be added to the stack attributes bag.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.