public class DescribeLayersRequest extends AmazonWebServiceRequest implements Serializable
DescribeLayers operation
.
Requests a description of one or more layers in a specified stack.
NOTE: You must specify at least one of the parameters.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
DescribeLayersRequest() |
Modifier and Type | Method and Description |
---|---|
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(Collection<String> layerIds)
An array of layer IDs that specify the layers to be described.
|
DescribeLayersRequest |
withLayerIds(String... layerIds)
An array of layer IDs that specify the layers to be described.
|
DescribeLayersRequest |
withStackId(String stackId)
The stack ID.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public DescribeLayersRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public List<String> getLayerIds()
DescribeLayers
returns a description
of every layer in the specified stack.DescribeLayers
returns a description
of every layer in the specified stack.public void setLayerIds(Collection<String> layerIds)
DescribeLayers
returns a description
of every layer in the specified stack.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.public DescribeLayersRequest withLayerIds(String... layerIds)
DescribeLayers
returns a description
of every layer in the specified stack.
Returns a reference to this object so that method calls can be chained together.
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.public DescribeLayersRequest withLayerIds(Collection<String> layerIds)
DescribeLayers
returns a description
of every layer in the specified stack.
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.