@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) |
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 remove permissions from a published version of the function.
|
String |
revisionId()
Update the policy only 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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final String statementId()
Statement ID of the permission to remove.
public final String qualifier()
Specify a version or alias to remove permissions from a published version of the function.
public final String revisionId()
Update the policy only 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 LambdaRequest
public static RemovePermissionRequest.Builder builder()
public static Class<? extends RemovePermissionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.