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 DescribeLayersRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getLayerIds()
An array of layer IDs that specify the layers to be described.String
getStackId()
The stack ID.int
hashCode()
void
setLayerIds(Collection<String> layerIds)
An array of layer IDs that specify the layers to be described.void
setStackId(String stackId)
The stack ID.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeLayersRequest
withLayerIds(String... layerIds)
An array of layer IDs that specify the layers to be described.DescribeLayersRequest
withLayerIds(Collection<String> layerIds)
An array of layer IDs that specify the layers to be described.DescribeLayersRequest
withStackId(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,
DescribeLayers
returns 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,
DescribeLayers
returns 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,
DescribeLayers
returns 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,DescribeLayers
returns 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,
DescribeLayers
returns 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,DescribeLayers
returns 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,
DescribeLayers
returns 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,DescribeLayers
returns 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLayersRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-