public static final class FunctionUrlOptions.Builder
extends java.lang.Object
FunctionUrlOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FunctionUrlOptions.Builder |
authType(FunctionUrlAuthType authType)
Sets the value of
FunctionUrlOptions.getAuthType() |
FunctionUrlOptions |
build()
Builds the configured instance.
|
FunctionUrlOptions.Builder |
cors(FunctionUrlCorsOptions cors)
Sets the value of
FunctionUrlOptions.getCors() |
public FunctionUrlOptions.Builder authType(FunctionUrlAuthType authType)
FunctionUrlOptions.getAuthType()
authType
- The type of authentication that your function URL uses.this
public FunctionUrlOptions.Builder cors(FunctionUrlCorsOptions cors)
FunctionUrlOptions.getCors()
cors
- The cross-origin resource sharing (CORS) settings for your function URL.this
public FunctionUrlOptions build()
FunctionUrlOptions
java.lang.NullPointerException
- if any required attribute was not provided