Interface GetFunctionUrlConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFunctionUrlConfigResponse.Builder,GetFunctionUrlConfigResponse>,LambdaResponse.Builder,SdkBuilder<GetFunctionUrlConfigResponse.Builder,GetFunctionUrlConfigResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFunctionUrlConfigResponse
@Mutable @NotThreadSafe public static interface GetFunctionUrlConfigResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetFunctionUrlConfigResponse.Builder,GetFunctionUrlConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFunctionUrlConfigResponse.BuilderauthType(String authType)The type of authentication that your function URL uses.GetFunctionUrlConfigResponse.BuilderauthType(FunctionUrlAuthType authType)The type of authentication that your function URL uses.default GetFunctionUrlConfigResponse.Buildercors(Consumer<Cors.Builder> cors)The cross-origin resource sharing (CORS) settings for your function URL.GetFunctionUrlConfigResponse.Buildercors(Cors cors)The cross-origin resource sharing (CORS) settings for your function URL.GetFunctionUrlConfigResponse.BuildercreationTime(String creationTime)When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).GetFunctionUrlConfigResponse.BuilderfunctionArn(String functionArn)The Amazon Resource Name (ARN) of your function.GetFunctionUrlConfigResponse.BuilderfunctionUrl(String functionUrl)The HTTP URL endpoint for your function.GetFunctionUrlConfigResponse.BuilderinvokeMode(String invokeMode)Use one of the following options:GetFunctionUrlConfigResponse.BuilderinvokeMode(InvokeMode invokeMode)Use one of the following options:GetFunctionUrlConfigResponse.BuilderlastModifiedTime(String lastModifiedTime)When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
functionUrl
GetFunctionUrlConfigResponse.Builder functionUrl(String functionUrl)
The HTTP URL endpoint for your function.
- Parameters:
functionUrl- The HTTP URL endpoint for your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionArn
GetFunctionUrlConfigResponse.Builder functionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
- Parameters:
functionArn- The Amazon Resource Name (ARN) of your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
GetFunctionUrlConfigResponse.Builder authType(String authType)
The type of authentication that your function URL uses. Set to
AWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.- Parameters:
authType- The type of authentication that your function URL uses. Set toAWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FunctionUrlAuthType,FunctionUrlAuthType
-
authType
GetFunctionUrlConfigResponse.Builder authType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses. Set to
AWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.- Parameters:
authType- The type of authentication that your function URL uses. Set toAWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FunctionUrlAuthType,FunctionUrlAuthType
-
cors
GetFunctionUrlConfigResponse.Builder cors(Cors cors)
The cross-origin resource sharing (CORS) settings for your function URL.
- Parameters:
cors- The cross-origin resource sharing (CORS) settings for your function URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cors
default GetFunctionUrlConfigResponse.Builder cors(Consumer<Cors.Builder> cors)
The cross-origin resource sharing (CORS) settings for your function URL.
This is a convenience method that creates an instance of theCors.Builderavoiding the need to create one manually viaCors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocors(Cors).- Parameters:
cors- a consumer that will call methods onCors.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cors(Cors)
-
creationTime
GetFunctionUrlConfigResponse.Builder creationTime(String creationTime)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
creationTime- When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
GetFunctionUrlConfigResponse.Builder lastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
lastModifiedTime- When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokeMode
GetFunctionUrlConfigResponse.Builder invokeMode(String invokeMode)
Use one of the following options:
-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
- Parameters:
invokeMode- Use one of the following options:-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InvokeMode,InvokeMode
-
-
invokeMode
GetFunctionUrlConfigResponse.Builder invokeMode(InvokeMode invokeMode)
Use one of the following options:
-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
- Parameters:
invokeMode- Use one of the following options:-
BUFFERED– This is the default option. Lambda invokes your function using theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InvokeMode,InvokeMode
-
-
-