Interface CreatePipelineResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>,SdkBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreatePipelineResponse
public static interface CreatePipelineResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePipelineResponse.Builderpipeline(Consumer<PipelineDeclaration.Builder> pipeline)Represents the structure of actions and stages to be performed in the pipeline.CreatePipelineResponse.Builderpipeline(PipelineDeclaration pipeline)Represents the structure of actions and stages to be performed in the pipeline.CreatePipelineResponse.Buildertags(Collection<Tag> tags)Specifies the tags applied to the pipeline.CreatePipelineResponse.Buildertags(Consumer<Tag.Builder>... tags)Specifies the tags applied to the pipeline.CreatePipelineResponse.Buildertags(Tag... tags)Specifies the tags applied to the pipeline.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pipeline
CreatePipelineResponse.Builder pipeline(PipelineDeclaration pipeline)
Represents the structure of actions and stages to be performed in the pipeline.
- Parameters:
pipeline- Represents the structure of actions and stages to be performed in the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
default CreatePipelineResponse.Builder pipeline(Consumer<PipelineDeclaration.Builder> pipeline)
Represents the structure of actions and stages to be performed in the pipeline.
This is a convenience method that creates an instance of thePipelineDeclaration.Builderavoiding the need to create one manually viaPipelineDeclaration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topipeline(PipelineDeclaration).- Parameters:
pipeline- a consumer that will call methods onPipelineDeclaration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pipeline(PipelineDeclaration)
-
tags
CreatePipelineResponse.Builder tags(Collection<Tag> tags)
Specifies the tags applied to the pipeline.
- Parameters:
tags- Specifies the tags applied to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePipelineResponse.Builder tags(Tag... tags)
Specifies the tags applied to the pipeline.
- Parameters:
tags- Specifies the tags applied to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePipelineResponse.Builder tags(Consumer<Tag.Builder>... tags)
Specifies the tags applied to the pipeline.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-