public class DeleteAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteAlias operation
.
Deletes specified Lambda function alias. For more information, see Introduction to AWS Lambda Aliases
This requires permission for the lambda:DeleteAlias action.
NOOP
Constructor and Description |
---|
DeleteAliasRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAliasRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getFunctionName()
The Lambda function name for which the alias is created.
|
String |
getName()
Name of the alias to delete.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The Lambda function name for which the alias is created.
|
void |
setName(String name)
Name of the alias to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteAliasRequest |
withFunctionName(String functionName)
The Lambda function name for which the alias is created.
|
DeleteAliasRequest |
withName(String name)
Name of the alias to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getFunctionName()
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The Lambda function name for which the alias is created.public DeleteAliasRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The Lambda function name for which the alias is created.public String getName()
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
public void setName(String name)
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
name
- Name of the alias to delete.public DeleteAliasRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
name
- Name of the alias to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.