@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.
|
String |
getQualifier()
Specify a version or alias to remove permissions from a published version of the function.
|
String |
getRevisionId()
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
String |
getStatementId()
Statement ID of the permission to remove.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The name of the Lambda function.
|
void |
setQualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
|
void |
setRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
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.
|
RemovePermissionRequest |
withQualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
|
RemovePermissionRequest |
withRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
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.
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 RemovePermissionRequest 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 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)
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
revisionId
- An optional value you can use to ensure you are updating the latest update of the function version or
alias. If the RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either GetFunction or GetAlias.public String getRevisionId()
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either GetFunction or GetAlias.public RemovePermissionRequest withRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
revisionId
- An optional value you can use to ensure you are updating the latest update of the function version or
alias. If the RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either GetFunction or GetAlias.public String toString()
toString
in class Object
Object.toString()
public RemovePermissionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.