Class DescribeAppsResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.DescribeAppsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeAppsResult extends Object implements Serializable, Cloneable
Contains the response to a
DescribeApps
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeAppsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAppsResult
clone()
boolean
equals(Object obj)
List<App>
getApps()
An array ofApp
objects that describe the specified apps.int
hashCode()
void
setApps(Collection<App> apps)
An array ofApp
objects that describe the specified apps.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAppsResult
withApps(App... apps)
An array ofApp
objects that describe the specified apps.DescribeAppsResult
withApps(Collection<App> apps)
An array ofApp
objects that describe the specified apps.
-
-
-
Method Detail
-
getApps
public List<App> getApps()
An array of
App
objects that describe the specified apps.- Returns:
- An array of
App
objects that describe the specified apps.
-
setApps
public void setApps(Collection<App> apps)
An array of
App
objects that describe the specified apps.- Parameters:
apps
- An array ofApp
objects that describe the specified apps.
-
withApps
public DescribeAppsResult withApps(App... apps)
An array of
App
objects that describe the specified apps.NOTE: This method appends the values to the existing list (if any). Use
setApps(java.util.Collection)
orwithApps(java.util.Collection)
if you want to override the existing values.- Parameters:
apps
- An array ofApp
objects that describe the specified apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withApps
public DescribeAppsResult withApps(Collection<App> apps)
An array of
App
objects that describe the specified apps.- Parameters:
apps
- An array ofApp
objects that describe the specified apps.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAppsResult clone()
-
-