public class DeleteLayerRequest extends AmazonWebServiceRequest implements Serializable
DeleteLayer operation
.
Deletes a specified layer. You must first stop and then delete all associated 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 .
Constructor and Description |
---|
DeleteLayerRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.