@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
The name of the Lambda function, version, or alias.
|
String |
getQualifier()
Specify a version or alias to get the policy for that resource.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The name of the Lambda function, version, or alias.
|
void |
setQualifier(String qualifier)
Specify a version or alias to get the policy for that resource.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyRequest |
withFunctionName(String functionName)
The name of the Lambda function, version, or alias.
|
GetPolicyRequest |
withQualifier(String qualifier)
Specify a version or alias to get the policy for that resource.
|
addHandlerContext, copyBaseTo, 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 setFunctionName(String functionName)
The name of the Lambda function, version, or alias.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName - The name of the Lambda function, version, or alias.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String getFunctionName()
The name of the Lambda function, version, or alias.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public GetPolicyRequest withFunctionName(String functionName)
The name of the Lambda function, version, or alias.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName - The name of the Lambda function, version, or alias.
Name formats
Function name - my-function (name-only), my-function:v1 (with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public void setQualifier(String qualifier)
Specify a version or alias to get the policy for that resource.
qualifier - Specify a version or alias to get the policy for that resource.public String getQualifier()
Specify a version or alias to get the policy for that resource.
public GetPolicyRequest withQualifier(String qualifier)
Specify a version or alias to get the policy for that resource.
qualifier - Specify a version or alias to get the policy for that resource.public String toString()
toString in class ObjectObject.toString()public GetPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.