@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. | 
| String | getQualifier()
 You can specify this optional query parameter to specify a function version or an alias name in which case this
 API will return all permissions associated with the specific qualified ARN. | 
| int | hashCode() | 
| void | setFunctionName(String functionName)
 The name of the lambda function. | 
| void | setQualifier(String qualifier)
 You can specify this optional query parameter to specify a function version or an alias name in which case this
 API will return all permissions associated with the specific qualified ARN. | 
| String | toString()Returns a string representation of this object. | 
| GetPolicyRequest | withFunctionName(String functionName)
 The name of the lambda function. | 
| GetPolicyRequest | withQualifier(String qualifier)
 You can specify this optional query parameter to specify a function version or an alias name in which case this
 API will return all permissions associated with the specific qualified ARN. | 
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.
Name formats
 Function name - MyFunction.
 
 Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
 
 Partial ARN - 123456789012:function:MyFunction.
 
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.
        Name formats
        Function name - MyFunction.
        
        Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
        
        Partial ARN - 123456789012:function:MyFunction.
        
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.
Name formats
 Function name - MyFunction.
 
 Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
 
 Partial ARN - 123456789012:function:MyFunction.
 
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 - MyFunction.
         
         Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
         
         Partial ARN - 123456789012:function:MyFunction.
         
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.
Name formats
 Function name - MyFunction.
 
 Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
 
 Partial ARN - 123456789012:function:MyFunction.
 
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.
        Name formats
        Function name - MyFunction.
        
        Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
        
        Partial ARN - 123456789012:function:MyFunction.
        
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)
You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don't provide this parameter, the API will return permissions that apply to the unqualified function ARN.
qualifier - You can specify this optional query parameter to specify a function version or an alias name in which case
        this API will return all permissions associated with the specific qualified ARN. If you don't provide this
        parameter, the API will return permissions that apply to the unqualified function ARN.public String getQualifier()
You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don't provide this parameter, the API will return permissions that apply to the unqualified function ARN.
public GetPolicyRequest withQualifier(String qualifier)
You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don't provide this parameter, the API will return permissions that apply to the unqualified function ARN.
qualifier - You can specify this optional query parameter to specify a function version or an alias name in which case
        this API will return all permissions associated with the specific qualified ARN. If you don't provide this
        parameter, the API will return permissions that apply to the unqualified function ARN.public String toString()
toString in class ObjectObject.toString()public GetPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.