Interface CodeHookSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodeHookSpecification.Builder,CodeHookSpecification>,SdkBuilder<CodeHookSpecification.Builder,CodeHookSpecification>,SdkPojo
- Enclosing class:
- CodeHookSpecification
public static interface CodeHookSpecification.Builder extends SdkPojo, CopyableBuilder<CodeHookSpecification.Builder,CodeHookSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CodeHookSpecification.BuilderlambdaCodeHook(Consumer<LambdaCodeHook.Builder> lambdaCodeHook)Sets the value of the LambdaCodeHook property for this object.CodeHookSpecification.BuilderlambdaCodeHook(LambdaCodeHook lambdaCodeHook)Sets the value of the LambdaCodeHook property for this object.-
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, sdkFields
-
-
-
-
Method Detail
-
lambdaCodeHook
CodeHookSpecification.Builder lambdaCodeHook(LambdaCodeHook lambdaCodeHook)
Sets the value of the LambdaCodeHook property for this object.- Parameters:
lambdaCodeHook- The new value for the LambdaCodeHook property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaCodeHook
default CodeHookSpecification.Builder lambdaCodeHook(Consumer<LambdaCodeHook.Builder> lambdaCodeHook)
Sets the value of the LambdaCodeHook property for this object. This is a convenience method that creates an instance of theLambdaCodeHook.Builderavoiding the need to create one manually viaLambdaCodeHook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaCodeHook(LambdaCodeHook).- Parameters:
lambdaCodeHook- a consumer that will call methods onLambdaCodeHook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lambdaCodeHook(LambdaCodeHook)
-
-