Class CreateFunctionUrlConfigResponse
- java.lang.Object
- 
- software.amazon.awssdk.core.SdkResponse
- 
- software.amazon.awssdk.awscore.AwsResponse
- 
- software.amazon.awssdk.services.lambda.model.LambdaResponse
- 
- software.amazon.awssdk.services.lambda.model.CreateFunctionUrlConfigResponse
 
 
 
 
- 
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<CreateFunctionUrlConfigResponse.Builder,CreateFunctionUrlConfigResponse>
 
 @Generated("software.amazon.awssdk:codegen") public final class CreateFunctionUrlConfigResponse extends LambdaResponse implements ToCopyableBuilder<CreateFunctionUrlConfigResponse.Builder,CreateFunctionUrlConfigResponse> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceCreateFunctionUrlConfigResponse.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionUrlAuthTypeauthType()The type of authentication that your function URL uses.StringauthTypeAsString()The type of authentication that your function URL uses.static CreateFunctionUrlConfigResponse.Builderbuilder()Corscors()The cross-origin resource sharing (CORS) settings for your function URL.StringcreationTime()When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfunctionArn()The Amazon Resource Name (ARN) of your function.StringfunctionUrl()The HTTP URL endpoint for your function.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InvokeModeinvokeMode()Use one of the following options:StringinvokeModeAsString()Use one of the following options:Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateFunctionUrlConfigResponse.Builder>serializableBuilderClass()CreateFunctionUrlConfigResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.- 
Methods inherited from class software.amazon.awssdk.services.lambda.model.LambdaResponseresponseMetadata
 - 
Methods inherited from class software.amazon.awssdk.core.SdkResponsesdkHttpResponse
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
 
- 
 
- 
- 
- 
Method Detail- 
functionUrlpublic final String functionUrl() The HTTP URL endpoint for your function. - Returns:
- The HTTP URL endpoint for your function.
 
 - 
functionArnpublic final String functionArn() The Amazon Resource Name (ARN) of your function. - Returns:
- The Amazon Resource Name (ARN) of your function.
 
 - 
authTypepublic final 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.If the service returns an enum value that is not available in the current SDK version, authTypewill returnFunctionUrlAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- 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.
- See Also:
- FunctionUrlAuthType
 
 - 
authTypeAsStringpublic final String authTypeAsString() 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.If the service returns an enum value that is not available in the current SDK version, authTypewill returnFunctionUrlAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- 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.
- See Also:
- FunctionUrlAuthType
 
 - 
corspublic final Cors cors() The cross-origin resource sharing (CORS) settings for your function URL. - Returns:
- The cross-origin resource sharing (CORS) settings for your function URL.
 
 - 
creationTimepublic final String creationTime() When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). - Returns:
- When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
 
 - 
invokeModepublic final 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 200 MB.
 If the service returns an enum value that is not available in the current SDK version, invokeModewill returnInvokeMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvokeModeAsString().- Returns:
- 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 200 MB.
 
- 
         
- See Also:
- InvokeMode
 
- 
 
 - 
invokeModeAsStringpublic final String invokeModeAsString() 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 200 MB.
 If the service returns an enum value that is not available in the current SDK version, invokeModewill returnInvokeMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvokeModeAsString().- Returns:
- 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 200 MB.
 
- 
         
- See Also:
- InvokeMode
 
- 
 
 - 
toBuilderpublic CreateFunctionUrlConfigResponse.Builder toBuilder() - Specified by:
- toBuilderin interface- ToCopyableBuilder<CreateFunctionUrlConfigResponse.Builder,CreateFunctionUrlConfigResponse>
- Specified by:
- toBuilderin class- AwsResponse
 
 - 
builderpublic static CreateFunctionUrlConfigResponse.Builder builder() 
 - 
serializableBuilderClasspublic static Class<? extends CreateFunctionUrlConfigResponse.Builder> serializableBuilderClass() 
 - 
hashCodepublic final int hashCode() - Overrides:
- hashCodein class- AwsResponse
 
 - 
equalspublic final boolean equals(Object obj) - Overrides:
- equalsin class- AwsResponse
 
 - 
equalsBySdkFieldspublic final boolean equalsBySdkFields(Object obj) - Specified by:
- equalsBySdkFieldsin interface- SdkPojo
 
 - 
toStringpublic final String toString() Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
 - 
getValueForFieldpublic final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) - Overrides:
- getValueForFieldin class- SdkResponse
 
 - 
sdkFieldNameToFieldpublic final Map<String,SdkField<?>> sdkFieldNameToField() - Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
 
 
- 
 
-