@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionUrlConfig extends Object implements Serializable, Cloneable, StructuredPojo
Details about a Lambda function URL.
| Constructor and Description | 
|---|
| FunctionUrlConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| FunctionUrlConfig | 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: | 
| String | getLastModifiedTime()
 When the function URL configuration was last updated, in ISO-8601
 format (YYYY-MM-DDThh:mm:ss.sTZD). | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| 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: | 
| void | setLastModifiedTime(String lastModifiedTime)
 When the function URL configuration was last updated, in ISO-8601
 format (YYYY-MM-DDThh:mm:ss.sTZD). | 
| String | toString()Returns a string representation of this object. | 
| FunctionUrlConfig | withAuthType(FunctionUrlAuthType authType)
 The type of authentication that your function URL uses. | 
| FunctionUrlConfig | withAuthType(String authType)
 The type of authentication that your function URL uses. | 
| FunctionUrlConfig | withCors(Cors cors)
 The cross-origin resource sharing (CORS)
 settings for your function URL. | 
| FunctionUrlConfig | withCreationTime(String creationTime)
 When the function URL was created, in ISO-8601 format
 (YYYY-MM-DDThh:mm:ss.sTZD). | 
| FunctionUrlConfig | withFunctionArn(String functionArn)
 The Amazon Resource Name (ARN) of your function. | 
| FunctionUrlConfig | withFunctionUrl(String functionUrl)
 The HTTP URL endpoint for your function. | 
| FunctionUrlConfig | withInvokeMode(InvokeMode invokeMode)
 Use one of the following options: | 
| FunctionUrlConfig | withInvokeMode(String invokeMode)
 Use one of the following options: | 
| FunctionUrlConfig | withLastModifiedTime(String lastModifiedTime)
 When the function URL configuration was last updated, in ISO-8601
 format (YYYY-MM-DDThh:mm:ss.sTZD). | 
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 FunctionUrlConfig 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 FunctionUrlConfig withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
functionArn - The Amazon Resource Name (ARN) of your function.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 FunctionUrlConfig 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 setLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime - When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).public String getLastModifiedTime()
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public FunctionUrlConfig withLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime - When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).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 FunctionUrlConfig 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 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.FunctionUrlAuthTypepublic 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.FunctionUrlAuthTypepublic FunctionUrlConfig 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.FunctionUrlAuthTypepublic FunctionUrlConfig 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.FunctionUrlAuthTypepublic 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.
        
InvokeModepublic 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.
         
InvokeModepublic FunctionUrlConfig 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.
        
InvokeModepublic FunctionUrlConfig 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.
        
InvokeModepublic String toString()
toString in class ObjectObject.toString()public FunctionUrlConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.