@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFunctionUrlConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateFunctionUrlConfigResult() |
Modifier and Type | Method and Description |
---|---|
CreateFunctionUrlConfigResult |
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 |
getCreationTime()
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
getFunctionArn()
The Amazon Resource Name (ARN) of your function.
|
String |
getFunctionUrl()
The HTTP URL endpoint for your function.
|
String |
getInvokeMode()
Use one of the following options:
|
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 |
setCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
void |
setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
|
void |
setFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
|
void |
setInvokeMode(String invokeMode)
Use one of the following options:
|
String |
toString()
Returns a string representation of this object.
|
CreateFunctionUrlConfigResult |
withAuthType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses.
|
CreateFunctionUrlConfigResult |
withAuthType(String authType)
The type of authentication that your function URL uses.
|
CreateFunctionUrlConfigResult |
withCors(Cors cors)
The cross-origin resource sharing (CORS)
settings for your function URL.
|
CreateFunctionUrlConfigResult |
withCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
CreateFunctionUrlConfigResult |
withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
|
CreateFunctionUrlConfigResult |
withFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
|
CreateFunctionUrlConfigResult |
withInvokeMode(InvokeMode invokeMode)
Use one of the following options:
|
CreateFunctionUrlConfigResult |
withInvokeMode(String invokeMode)
Use one of the following options:
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
functionUrl
- The HTTP URL endpoint for your function.public String getFunctionUrl()
The HTTP URL endpoint for your function.
public CreateFunctionUrlConfigResult withFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
functionUrl
- The HTTP URL endpoint for your function.public void setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
functionArn
- The Amazon Resource Name (ARN) of your function.public String getFunctionArn()
The Amazon Resource Name (ARN) of your function.
public CreateFunctionUrlConfigResult withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
functionArn
- The Amazon Resource Name (ARN) of your function.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 CreateFunctionUrlConfigResult 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 CreateFunctionUrlConfigResult 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 CreateFunctionUrlConfigResult 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 setCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
creationTime
- When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).public String getCreationTime()
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public CreateFunctionUrlConfigResult withCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
creationTime
- When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).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 CreateFunctionUrlConfigResult 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 CreateFunctionUrlConfigResult 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 CreateFunctionUrlConfigResult clone()