public class GetAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetAlias operation
.
Returns the specified alias information such as the alias ARN, description, and function version it is pointing to. For more information, see Introduction to AWS Lambda Aliases .
This requires permission for the lambda:GetAlias
action.
NOOP
Constructor and Description |
---|
GetAliasRequest() |
Modifier and Type | Method and Description |
---|---|
GetAliasRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
Function name for which the alias is created.
|
String |
getName()
Name of the alias for which you want to retrieve information.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
Function name for which the alias is created.
|
void |
setName(String name)
Name of the alias for which you want to retrieve information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetAliasRequest |
withFunctionName(String functionName)
Function name for which the alias is created.
|
GetAliasRequest |
withName(String name)
Name of the alias for which you want to retrieve information.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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
- Function name for which the alias is created. An alias is a
subresource that exists only in the context of an existing Lambda
function so you must specify the function name.public GetAliasRequest 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
- Function name for which the alias is created. An alias is a
subresource that exists only in the context of an existing Lambda
function so you must specify the function name.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 for which you want to retrieve information.public GetAliasRequest 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 for which you want to retrieve information.public String toString()
toString
in class Object
Object.toString()
public GetAliasRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.