Interface GetActionTypeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodePipelineResponse.Builder
,CopyableBuilder<GetActionTypeResponse.Builder,
,GetActionTypeResponse> SdkBuilder<GetActionTypeResponse.Builder,
,GetActionTypeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetActionTypeResponse
public static interface GetActionTypeResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetActionTypeResponse.Builder,GetActionTypeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetActionTypeResponse.Builder
actionType
(Consumer<ActionTypeDeclaration.Builder> actionType) The action type information for the requested action type, such as the action type ID.actionType
(ActionTypeDeclaration actionType) The action type information for the requested action type, such as the action type ID.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actionType
The action type information for the requested action type, such as the action type ID.
- Parameters:
actionType
- The action type information for the requested action type, such as the action type ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionType
default GetActionTypeResponse.Builder actionType(Consumer<ActionTypeDeclaration.Builder> actionType) The action type information for the requested action type, such as the action type ID.
This is a convenience method that creates an instance of theActionTypeDeclaration.Builder
avoiding the need to create one manually viaActionTypeDeclaration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionType(ActionTypeDeclaration)
.- Parameters:
actionType
- a consumer that will call methods onActionTypeDeclaration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-