@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RemovePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
RemovePermissionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
The name of the Lambda function, version, or alias.
|
String |
getQualifier()
Specify a version or alias to remove permissions from a published version of the function.
|
String |
getRevisionId()
Only update the policy if the revision ID matches the ID that's specified.
|
String |
getStatementId()
Statement ID of the permission to remove.
|
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 remove permissions from a published version of the function.
|
void |
setRevisionId(String revisionId)
Only update the policy if the revision ID matches the ID that's specified.
|
void |
setStatementId(String statementId)
Statement ID of the permission to remove.
|
String |
toString()
Returns a string representation of this object.
|
RemovePermissionRequest |
withFunctionName(String functionName)
The name of the Lambda function, version, or alias.
|
RemovePermissionRequest |
withQualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
|
RemovePermissionRequest |
withRevisionId(String revisionId)
Only update the policy if the revision ID matches the ID that's specified.
|
RemovePermissionRequest |
withStatementId(String statementId)
Statement ID of the permission to remove.
|
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, withSdkRequestTimeout
public 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 RemovePermissionRequest 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 setStatementId(String statementId)
Statement ID of the permission to remove.
statementId
- Statement ID of the permission to remove.public String getStatementId()
Statement ID of the permission to remove.
public RemovePermissionRequest withStatementId(String statementId)
Statement ID of the permission to remove.
statementId
- Statement ID of the permission to remove.public void setQualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
qualifier
- Specify a version or alias to remove permissions from a published version of the function.public String getQualifier()
Specify a version or alias to remove permissions from a published version of the function.
public RemovePermissionRequest withQualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
qualifier
- Specify a version or alias to remove permissions from a published version of the function.public void setRevisionId(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.
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 String getRevisionId()
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 withRevisionId(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.
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 String toString()
toString
in class Object
Object.toString()
public RemovePermissionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.