@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteCanaryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteCanaryRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteCanaryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDeleteLambda()
Specifies whether to also delete the Lambda functions and layers used by this canary.
|
String |
getName()
The name of the canary that you want to delete.
|
int |
hashCode() |
Boolean |
isDeleteLambda()
Specifies whether to also delete the Lambda functions and layers used by this canary.
|
void |
setDeleteLambda(Boolean deleteLambda)
Specifies whether to also delete the Lambda functions and layers used by this canary.
|
void |
setName(String name)
The name of the canary that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteCanaryRequest |
withDeleteLambda(Boolean deleteLambda)
Specifies whether to also delete the Lambda functions and layers used by this canary.
|
DeleteCanaryRequest |
withName(String name)
The name of the canary that you want to delete.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
name - The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.public String getName()
The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
public DeleteCanaryRequest withName(String name)
The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
name - The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.public void setDeleteLambda(Boolean deleteLambda)
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.
Type: Boolean
deleteLambda - Specifies whether to also delete the Lambda functions and layers used by this canary. The default is
false.
Type: Boolean
public Boolean getDeleteLambda()
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.
Type: Boolean
Type: Boolean
public DeleteCanaryRequest withDeleteLambda(Boolean deleteLambda)
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.
Type: Boolean
deleteLambda - Specifies whether to also delete the Lambda functions and layers used by this canary. The default is
false.
Type: Boolean
public Boolean isDeleteLambda()
Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.
Type: Boolean
Type: Boolean
public String toString()
toString in class ObjectObject.toString()public DeleteCanaryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()