@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 or ARN of the Lambda function.
|
String |
getInvokeMode()
Use one of the following options:
|
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 or ARN of the Lambda function.
|
void |
setInvokeMode(String invokeMode)
Use one of the following options:
|
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 or ARN of the Lambda function.
|
CreateFunctionUrlConfigRequest |
withInvokeMode(InvokeMode invokeMode)
Use one of the following options:
|
CreateFunctionUrlConfigRequest |
withInvokeMode(String invokeMode)
Use one of the following options:
|
CreateFunctionUrlConfigRequest |
withQualifier(String qualifier)
The alias name.
|
addHandlerContext, 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 or ARN 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 or ARN 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 or ARN 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 or ARN 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 or ARN 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 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 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 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 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 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 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 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 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 void setInvokeMode(String invokeMode)
Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the Invoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes
your function using the InvokeWithResponseStream
API operation. The maximum response payload size is
20 MB, however, you can request a quota
increase.
invokeMode
- Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the
Invoke
API operation. Invocation results are available when the payload is complete. The
maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda
invokes your function using the InvokeWithResponseStream
API operation. The maximum response
payload size is 20 MB, however, you can request a
quota increase.
InvokeMode
public String getInvokeMode()
Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the Invoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes
your function using the InvokeWithResponseStream
API operation. The maximum response payload size is
20 MB, however, you can request a quota
increase.
BUFFERED
– This is the default option. Lambda invokes your function using the
Invoke
API operation. Invocation results are available when the payload is complete. The
maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda
invokes your function using the InvokeWithResponseStream
API operation. The maximum response
payload size is 20 MB, however, you can request a
quota increase.
InvokeMode
public CreateFunctionUrlConfigRequest withInvokeMode(String invokeMode)
Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the Invoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes
your function using the InvokeWithResponseStream
API operation. The maximum response payload size is
20 MB, however, you can request a quota
increase.
invokeMode
- Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the
Invoke
API operation. Invocation results are available when the payload is complete. The
maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda
invokes your function using the InvokeWithResponseStream
API operation. The maximum response
payload size is 20 MB, however, you can request a
quota increase.
InvokeMode
public CreateFunctionUrlConfigRequest withInvokeMode(InvokeMode invokeMode)
Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the Invoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes
your function using the InvokeWithResponseStream
API operation. The maximum response payload size is
20 MB, however, you can request a quota
increase.
invokeMode
- Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using the
Invoke
API operation. Invocation results are available when the payload is complete. The
maximum payload size is 6 MB.
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda
invokes your function using the InvokeWithResponseStream
API operation. The maximum response
payload size is 20 MB, however, you can request a
quota increase.
InvokeMode
public String toString()
toString
in class Object
Object.toString()
public CreateFunctionUrlConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()