Interface FunctionRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionRequest.Builder,
,FunctionRequest> SdkBuilder<FunctionRequest.Builder,
,FunctionRequest> SdkPojo
- Enclosing class:
FunctionRequest
@Mutable
@NotThreadSafe
public static interface FunctionRequest.Builder
extends SdkPojo, CopyableBuilder<FunctionRequest.Builder,FunctionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FunctionRequest.Builder
implementedBy
(Consumer<DataConnector.Builder> implementedBy) The data connector.implementedBy
(DataConnector implementedBy) The data connector.requiredProperties
(String... requiredProperties) The required properties of the function.requiredProperties
(Collection<String> requiredProperties) The required properties of the function.The scope of the function.The scope of the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
requiredProperties
The required properties of the function.
- Parameters:
requiredProperties
- The required properties of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredProperties
The required properties of the function.
- Parameters:
requiredProperties
- The required properties of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope of the function.
- Parameters:
scope
- The scope of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The scope of the function.
- Parameters:
scope
- The scope of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
implementedBy
The data connector.
- Parameters:
implementedBy
- The data connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
implementedBy
The data connector.
This is a convenience method that creates an instance of theDataConnector.Builder
avoiding the need to create one manually viaDataConnector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimplementedBy(DataConnector)
.- Parameters:
implementedBy
- a consumer that will call methods onDataConnector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-