@Generated(value="software.amazon.awssdk:codegen") public final class GetPolicyRequest extends LambdaRequest implements ToCopyableBuilder<GetPolicyRequest.Builder,GetPolicyRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetPolicyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionName()
The name of the Lambda function, version, or alias.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
qualifier()
Specify a version or alias to get the policy for that resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetPolicyRequest.Builder> |
serializableBuilderClass() |
GetPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.
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 qualifier()
Specify a version or alias to get the policy for that resource.
public GetPolicyRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetPolicyRequest.Builder,GetPolicyRequest>
toBuilder
in class LambdaRequest
public static GetPolicyRequest.Builder builder()
public static Class<? extends GetPolicyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.