Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class App

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

public class App
extends Object
implements Serializable

A description of the app.

See Also:
Serialized Form

Constructor Summary
App()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAppId()
          The app ID.
 Source getAppSource()
          A Source object that describes the app repository.
 Map<String,String> getAttributes()
          The contents of the stack attributes bag.
 String getCreatedAt()
          When the app was created.
 String getDescription()
          A description of the app.
 List<String> getDomains()
          The app vhost settings, with multiple domains separated by commas.
 Boolean getEnableSsl()
          Whether to enable SSL for the app.
 String getName()
          The app name.
 String getShortname()
          The app's short name.
 SslConfiguration getSslConfiguration()
          An SslConfiguration object with the SSL configuration.
 String getStackId()
          The app stack ID.
 String getType()
          The app type.
 int hashCode()
           
 Boolean isEnableSsl()
          Whether to enable SSL for the app.
 void setAppId(String appId)
          The app ID.
 void setAppSource(Source appSource)
          A Source object that describes the app repository.
 void setAttributes(Map<String,String> attributes)
          The contents of the stack attributes bag.
 void setCreatedAt(String createdAt)
          When the app was created.
 void setDescription(String description)
          A description of the app.
 void setDomains(Collection<String> domains)
          The app vhost settings, with multiple domains separated by commas.
 void setEnableSsl(Boolean enableSsl)
          Whether to enable SSL for the app.
 void setName(String name)
          The app name.
 void setShortname(String shortname)
          The app's short name.
 void setSslConfiguration(SslConfiguration sslConfiguration)
          An SslConfiguration object with the SSL configuration.
 void setStackId(String stackId)
          The app stack ID.
 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.
 App withAppId(String appId)
          The app ID.
 App withAppSource(Source appSource)
          A Source object that describes the app repository.
 App withAttributes(Map<String,String> attributes)
          The contents of the stack attributes bag.
 App withCreatedAt(String createdAt)
          When the app was created.
 App withDescription(String description)
          A description of the app.
 App withDomains(Collection<String> domains)
          The app vhost settings, with multiple domains separated by commas.
 App withDomains(String... domains)
          The app vhost settings, with multiple domains separated by commas.
 App withEnableSsl(Boolean enableSsl)
          Whether to enable SSL for the app.
 App withName(String name)
          The app name.
 App withShortname(String shortname)
          The app's short name.
 App withSslConfiguration(SslConfiguration sslConfiguration)
          An SslConfiguration object with the SSL configuration.
 App withStackId(String stackId)
          The app stack ID.
 App withType(AppType type)
          The app type.
 App withType(String type)
          The app type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

App

public App()
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 App 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.

getStackId

public String getStackId()
The app stack ID.

Returns:
The app stack ID.

setStackId

public void setStackId(String stackId)
The app stack ID.

Parameters:
stackId - The app stack ID.

withStackId

public App withStackId(String stackId)
The app stack ID.

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

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

getShortname

public String getShortname()
The app's short name.

Returns:
The app's short name.

setShortname

public void setShortname(String shortname)
The app's short name.

Parameters:
shortname - The app's short name.

withShortname

public App withShortname(String shortname)
The app's short name.

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

Parameters:
shortname - The app's short name.
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 App 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 App 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 App 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 App 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 describes the app repository.

Returns:
A Source object that describes the app repository.

setAppSource

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

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

withAppSource

public App withAppSource(Source appSource)
A Source object that describes the app repository.

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

Parameters:
appSource - A Source object that describes 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 vhost settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

Returns:
The app vhost settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

setDomains

public void setDomains(Collection<String> domains)
The app vhost settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

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

withDomains

public App withDomains(String... domains)
The app vhost 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 vhost 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 App withDomains(Collection<String> domains)
The app vhost 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 vhost 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 to enable SSL for the app.

Returns:
Whether to enable SSL for the app.

setEnableSsl

public void setEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.

Parameters:
enableSsl - Whether to enable SSL for the app.

withEnableSsl

public App withEnableSsl(Boolean enableSsl)
Whether to enable SSL for the app.

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

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

getEnableSsl

public Boolean getEnableSsl()
Whether to enable SSL for the app.

Returns:
Whether to enable SSL 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 App 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()
The contents of the stack attributes bag.

Returns:
The contents of the stack attributes bag.

setAttributes

public void setAttributes(Map<String,String> attributes)
The contents of the stack attributes bag.

Parameters:
attributes - The contents of the stack attributes bag.

withAttributes

public App withAttributes(Map<String,String> attributes)
The contents of the stack attributes bag.

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

Parameters:
attributes - The contents of the stack attributes bag.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedAt

public String getCreatedAt()
When the app was created.

Returns:
When the app was created.

setCreatedAt

public void setCreatedAt(String createdAt)
When the app was created.

Parameters:
createdAt - When the app was created.

withCreatedAt

public App withCreatedAt(String createdAt)
When the app was created.

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

Parameters:
createdAt - When the app was created.
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.