Package com.pulumi.aws.appsync
Class FunctionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appsync.FunctionArgs.Builder
-
- Enclosing class:
- FunctionArgs
public static final class FunctionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FunctionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionArgs.Builder
apiId(com.pulumi.core.Output<java.lang.String> apiId)
FunctionArgs.Builder
apiId(java.lang.String apiId)
FunctionArgs
build()
FunctionArgs.Builder
code(com.pulumi.core.Output<java.lang.String> code)
FunctionArgs.Builder
code(java.lang.String code)
FunctionArgs.Builder
dataSource(com.pulumi.core.Output<java.lang.String> dataSource)
FunctionArgs.Builder
dataSource(java.lang.String dataSource)
FunctionArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
FunctionArgs.Builder
description(java.lang.String description)
FunctionArgs.Builder
functionVersion(com.pulumi.core.Output<java.lang.String> functionVersion)
FunctionArgs.Builder
functionVersion(java.lang.String functionVersion)
FunctionArgs.Builder
maxBatchSize(com.pulumi.core.Output<java.lang.Integer> maxBatchSize)
FunctionArgs.Builder
maxBatchSize(java.lang.Integer maxBatchSize)
FunctionArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
FunctionArgs.Builder
name(java.lang.String name)
FunctionArgs.Builder
requestMappingTemplate(com.pulumi.core.Output<java.lang.String> requestMappingTemplate)
FunctionArgs.Builder
requestMappingTemplate(java.lang.String requestMappingTemplate)
FunctionArgs.Builder
responseMappingTemplate(com.pulumi.core.Output<java.lang.String> responseMappingTemplate)
FunctionArgs.Builder
responseMappingTemplate(java.lang.String responseMappingTemplate)
FunctionArgs.Builder
runtime(FunctionRuntimeArgs runtime)
FunctionArgs.Builder
runtime(com.pulumi.core.Output<FunctionRuntimeArgs> runtime)
FunctionArgs.Builder
syncConfig(FunctionSyncConfigArgs syncConfig)
FunctionArgs.Builder
syncConfig(com.pulumi.core.Output<FunctionSyncConfigArgs> syncConfig)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FunctionArgs defaults)
-
-
Method Detail
-
apiId
public FunctionArgs.Builder apiId(com.pulumi.core.Output<java.lang.String> apiId)
- Parameters:
apiId
- ID of the associated AppSync API.- Returns:
- builder
-
apiId
public FunctionArgs.Builder apiId(java.lang.String apiId)
- Parameters:
apiId
- ID of the associated AppSync API.- Returns:
- builder
-
code
public FunctionArgs.Builder code(@Nullable com.pulumi.core.Output<java.lang.String> code)
- Parameters:
code
- The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.- Returns:
- builder
-
code
public FunctionArgs.Builder code(java.lang.String code)
- Parameters:
code
- The function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.- Returns:
- builder
-
dataSource
public FunctionArgs.Builder dataSource(com.pulumi.core.Output<java.lang.String> dataSource)
- Parameters:
dataSource
- Function data source name.- Returns:
- builder
-
dataSource
public FunctionArgs.Builder dataSource(java.lang.String dataSource)
- Parameters:
dataSource
- Function data source name.- Returns:
- builder
-
description
public FunctionArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- Function description.- Returns:
- builder
-
description
public FunctionArgs.Builder description(java.lang.String description)
- Parameters:
description
- Function description.- Returns:
- builder
-
functionVersion
public FunctionArgs.Builder functionVersion(@Nullable com.pulumi.core.Output<java.lang.String> functionVersion)
- Parameters:
functionVersion
- Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.- Returns:
- builder
-
functionVersion
public FunctionArgs.Builder functionVersion(java.lang.String functionVersion)
- Parameters:
functionVersion
- Version of the request mapping template. Currently the supported value is `2018-05-29`. Does not apply when specifying `code`.- Returns:
- builder
-
maxBatchSize
public FunctionArgs.Builder maxBatchSize(@Nullable com.pulumi.core.Output<java.lang.Integer> maxBatchSize)
- Parameters:
maxBatchSize
- Maximum batching size for a resolver. Valid values are between `0` and `2000`.- Returns:
- builder
-
maxBatchSize
public FunctionArgs.Builder maxBatchSize(java.lang.Integer maxBatchSize)
- Parameters:
maxBatchSize
- Maximum batching size for a resolver. Valid values are between `0` and `2000`.- Returns:
- builder
-
name
public FunctionArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Function name. The function name does not have to be unique.- Returns:
- builder
-
name
public FunctionArgs.Builder name(java.lang.String name)
- Parameters:
name
- Function name. The function name does not have to be unique.- Returns:
- builder
-
requestMappingTemplate
public FunctionArgs.Builder requestMappingTemplate(@Nullable com.pulumi.core.Output<java.lang.String> requestMappingTemplate)
- Parameters:
requestMappingTemplate
- Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.- Returns:
- builder
-
requestMappingTemplate
public FunctionArgs.Builder requestMappingTemplate(java.lang.String requestMappingTemplate)
- Parameters:
requestMappingTemplate
- Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.- Returns:
- builder
-
responseMappingTemplate
public FunctionArgs.Builder responseMappingTemplate(@Nullable com.pulumi.core.Output<java.lang.String> responseMappingTemplate)
- Parameters:
responseMappingTemplate
- Function response mapping template.- Returns:
- builder
-
responseMappingTemplate
public FunctionArgs.Builder responseMappingTemplate(java.lang.String responseMappingTemplate)
- Parameters:
responseMappingTemplate
- Function response mapping template.- Returns:
- builder
-
runtime
public FunctionArgs.Builder runtime(@Nullable com.pulumi.core.Output<FunctionRuntimeArgs> runtime)
- Parameters:
runtime
- Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See `runtime` Block for details.- Returns:
- builder
-
runtime
public FunctionArgs.Builder runtime(FunctionRuntimeArgs runtime)
- Parameters:
runtime
- Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. See `runtime` Block for details.- Returns:
- builder
-
syncConfig
public FunctionArgs.Builder syncConfig(@Nullable com.pulumi.core.Output<FunctionSyncConfigArgs> syncConfig)
- Parameters:
syncConfig
- Describes a Sync configuration for a resolver. See `sync_config` Block for details.- Returns:
- builder
-
syncConfig
public FunctionArgs.Builder syncConfig(FunctionSyncConfigArgs syncConfig)
- Parameters:
syncConfig
- Describes a Sync configuration for a resolver. See `sync_config` Block for details.- Returns:
- builder
-
build
public FunctionArgs build()
-
-