Class DescribeAppsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeAppsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeAppsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAppsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAppsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getAppIds()An array of app IDs for the apps to be described.StringgetStackId()The app stack ID.inthashCode()voidsetAppIds(Collection<String> appIds)An array of app IDs for the apps to be described.voidsetStackId(String stackId)The app stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeAppsRequestwithAppIds(String... appIds)An array of app IDs for the apps to be described.DescribeAppsRequestwithAppIds(Collection<String> appIds)An array of app IDs for the apps to be described.DescribeAppsRequestwithStackId(String stackId)The app stack ID.-
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
-
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The app stack ID. If you use this parameter,
DescribeAppsreturns a description of the apps in the specified stack.- Parameters:
stackId- The app stack ID. If you use this parameter,DescribeAppsreturns a description of the apps in the specified stack.
-
getStackId
public String getStackId()
The app stack ID. If you use this parameter,
DescribeAppsreturns a description of the apps in the specified stack.- Returns:
- The app stack ID. If you use this parameter,
DescribeAppsreturns a description of the apps in the specified stack.
-
withStackId
public DescribeAppsRequest withStackId(String stackId)
The app stack ID. If you use this parameter,
DescribeAppsreturns a description of the apps in the specified stack.- Parameters:
stackId- The app stack ID. If you use this parameter,DescribeAppsreturns a description of the apps in the specified stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAppIds
public List<String> getAppIds()
An array of app IDs for the apps to be described. If you use this parameter,
DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.- Returns:
- An array of app IDs for the apps to be described. If you use this
parameter,
DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.
-
setAppIds
public void setAppIds(Collection<String> appIds)
An array of app IDs for the apps to be described. If you use this parameter,
DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.- Parameters:
appIds- An array of app IDs for the apps to be described. If you use this parameter,DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.
-
withAppIds
public DescribeAppsRequest withAppIds(String... appIds)
An array of app IDs for the apps to be described. If you use this parameter,
DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.NOTE: This method appends the values to the existing list (if any). Use
setAppIds(java.util.Collection)orwithAppIds(java.util.Collection)if you want to override the existing values.- Parameters:
appIds- An array of app IDs for the apps to be described. If you use this parameter,DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAppIds
public DescribeAppsRequest withAppIds(Collection<String> appIds)
An array of app IDs for the apps to be described. If you use this parameter,
DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.- Parameters:
appIds- An array of app IDs for the apps to be described. If you use this parameter,DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAppsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-