public class DeleteLayerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteLayer operation
.
Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer .
Required Permissions : To use this action, an IAM user must have a 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 |
---|
DeleteLayerRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteLayerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getLayerId()
The layer ID.
|
int |
hashCode() |
void |
setLayerId(String layerId)
The layer ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLayerRequest |
withLayerId(String layerId)
The layer ID.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getLayerId()
public void setLayerId(String layerId)
layerId
- The layer ID.public DeleteLayerRequest withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The layer ID.public String toString()
toString
in class Object
Object.toString()
public DeleteLayerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.