@Generated(value="software.amazon.awssdk:codegen") public final class RemovePermissionRequest extends LambdaRequest implements ToCopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RemovePermissionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RemovePermissionRequest.Builder |
builder() |
boolean |
equals(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 remove permissions from a published version of the function.
|
String |
revisionId()
Only update the policy if the revision ID matches the ID that's specified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RemovePermissionRequest.Builder> |
serializableBuilderClass() |
String |
statementId()
Statement ID of the permission to remove.
|
RemovePermissionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 statementId()
Statement ID of the permission to remove.
public String qualifier()
Specify a version or alias to remove permissions from a published version of the function.
public String revisionId()
Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.
public RemovePermissionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>toBuilder in class LambdaRequestpublic static RemovePermissionRequest.Builder builder()
public static Class<? extends RemovePermissionRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.