@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFunctionUrlConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFunctionUrlConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFunctionUrlConfigRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAuthType()
The type of authentication that your function URL uses.
|
Cors |
getCors()
The cross-origin resource sharing (CORS)
settings for your function URL.
|
String |
getFunctionName()
The name of the Lambda function.
|
String |
getQualifier()
The alias name.
|
int |
hashCode() |
void |
setAuthType(String authType)
The type of authentication that your function URL uses.
|
void |
setCors(Cors cors)
The cross-origin resource sharing (CORS)
settings for your function URL.
|
void |
setFunctionName(String functionName)
The name of the Lambda function.
|
void |
setQualifier(String qualifier)
The alias name.
|
String |
toString()
Returns a string representation of this object.
|
CreateFunctionUrlConfigRequest |
withAuthType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses.
|
CreateFunctionUrlConfigRequest |
withAuthType(String authType)
The type of authentication that your function URL uses.
|
CreateFunctionUrlConfigRequest |
withCors(Cors cors)
The cross-origin resource sharing (CORS)
settings for your function URL.
|
CreateFunctionUrlConfigRequest |
withFunctionName(String functionName)
The name of the Lambda function.
|
CreateFunctionUrlConfigRequest |
withQualifier(String qualifier)
The alias name.
|
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 – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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 – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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 – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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 CreateFunctionUrlConfigRequest withFunctionName(String functionName)
The name of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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 – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
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 setQualifier(String qualifier)
The alias name.
qualifier
- The alias name.public String getQualifier()
The alias name.
public CreateFunctionUrlConfigRequest withQualifier(String qualifier)
The alias name.
qualifier
- The alias name.public void setAuthType(String authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM users only. Set to NONE
if you want to bypass IAM authentication to
create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public String getAuthType()
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM users only. Set to NONE
if you want to bypass IAM authentication to
create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
AWS_IAM
if you want to
restrict access to authenticated IAM users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public CreateFunctionUrlConfigRequest withAuthType(String authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM users only. Set to NONE
if you want to bypass IAM authentication to
create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public CreateFunctionUrlConfigRequest withAuthType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM users only. Set to NONE
if you want to bypass IAM authentication to
create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public void setCors(Cors cors)
The cross-origin resource sharing (CORS) settings for your function URL.
cors
- The cross-origin resource sharing
(CORS) settings for your function URL.public Cors getCors()
The cross-origin resource sharing (CORS) settings for your function URL.
public CreateFunctionUrlConfigRequest withCors(Cors cors)
The cross-origin resource sharing (CORS) settings for your function URL.
cors
- The cross-origin resource sharing
(CORS) settings for your function URL.public String toString()
toString
in class Object
Object.toString()
public CreateFunctionUrlConfigRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.