Interface CodeHookSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeHookSpecification.Builder,,CodeHookSpecification> SdkBuilder<CodeHookSpecification.Builder,,CodeHookSpecification> SdkPojo
- Enclosing class:
CodeHookSpecification
@Mutable
@NotThreadSafe
public static interface CodeHookSpecification.Builder
extends SdkPojo, CopyableBuilder<CodeHookSpecification.Builder,CodeHookSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeHookSpecification.BuilderlambdaCodeHook(Consumer<LambdaCodeHook.Builder> lambdaCodeHook) Sets the value of the LambdaCodeHook property for this object.lambdaCodeHook(LambdaCodeHook lambdaCodeHook) Sets the value of the LambdaCodeHook property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-