Class DescribeLayersRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeLayersRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeLayersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeLayersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeLayersRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getLayerIds()An array of layer IDs that specify the layers to be described.StringgetStackId()The stack ID.inthashCode()voidsetLayerIds(Collection<String> layerIds)An array of layer IDs that specify the layers to be described.voidsetStackId(String stackId)The stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeLayersRequestwithLayerIds(String... layerIds)An array of layer IDs that specify the layers to be described.DescribeLayersRequestwithLayerIds(Collection<String> layerIds)An array of layer IDs that specify the layers to be described.DescribeLayersRequestwithStackId(String stackId)The 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 stack ID.
- Parameters:
stackId- The stack ID.
-
getStackId
public String getStackId()
The stack ID.
- Returns:
- The stack ID.
-
withStackId
public DescribeLayersRequest withStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLayerIds
public List<String> getLayerIds()
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayersreturns a description of every layer in the specified stack.- Returns:
- An array of layer IDs that specify the layers to be described. If
you omit this parameter,
DescribeLayersreturns a description of every layer in the specified stack.
-
setLayerIds
public void setLayerIds(Collection<String> layerIds)
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayersreturns a description of every layer in the specified stack.- Parameters:
layerIds- An array of layer IDs that specify the layers to be described. If you omit this parameter,DescribeLayersreturns a description of every layer in the specified stack.
-
withLayerIds
public DescribeLayersRequest withLayerIds(String... layerIds)
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayersreturns a description of every layer in the specified stack.NOTE: This method appends the values to the existing list (if any). Use
setLayerIds(java.util.Collection)orwithLayerIds(java.util.Collection)if you want to override the existing values.- Parameters:
layerIds- An array of layer IDs that specify the layers to be described. If you omit this parameter,DescribeLayersreturns a description of every layer in the specified stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayerIds
public DescribeLayersRequest withLayerIds(Collection<String> layerIds)
An array of layer IDs that specify the layers to be described. If you omit this parameter,
DescribeLayersreturns a description of every layer in the specified stack.- Parameters:
layerIds- An array of layer IDs that specify the layers to be described. If you omit this parameter,DescribeLayersreturns a description of every layer in the specified stack.- 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 DescribeLayersRequest 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()
-
-