public class DescribeLayersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
layerIds
An array of layer IDs that specify the layers to be described.
|
private java.lang.String |
stackId
The stack ID.
|
NOOP
Constructor and Description |
---|
DescribeLayersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLayersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getLayerIds()
An array of layer IDs that specify the layers to be described.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setLayerIds(java.util.Collection<java.lang.String> layerIds)
An array of layer IDs that specify the layers to be described.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLayersRequest |
withLayerIds(java.util.Collection<java.lang.String> layerIds)
An array of layer IDs that specify the layers to be described.
|
DescribeLayersRequest |
withLayerIds(java.lang.String... layerIds)
An array of layer IDs that specify the layers to be described.
|
DescribeLayersRequest |
withStackId(java.lang.String stackId)
The stack ID.
|
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
private java.lang.String stackId
The stack ID.
private SdkInternalList<java.lang.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.
public void setStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public java.lang.String getStackId()
The stack ID.
public DescribeLayersRequest withStackId(java.lang.String stackId)
The stack ID.
stackId
- The stack ID.public java.util.List<java.lang.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.
DescribeLayers
returns a
description of every layer in the specified stack.public void setLayerIds(java.util.Collection<java.lang.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.
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(java.lang.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)
or
withLayerIds(java.util.Collection)
if you want to override the
existing values.
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(java.util.Collection<java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeLayersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()