Interface CreateConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeStarConnectionsResponse.Builder
,CopyableBuilder<CreateConnectionResponse.Builder,
,CreateConnectionResponse> SdkBuilder<CreateConnectionResponse.Builder,
,CreateConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateConnectionResponse
public static interface CreateConnectionResponse.Builder
extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionArn
(String connectionArn) The Amazon Resource Name (ARN) of the connection to be created.tags
(Collection<Tag> tags) Specifies the tags applied to the resource.tags
(Consumer<Tag.Builder>... tags) Specifies the tags applied to the resource.Specifies the tags applied to the resource.Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsResponse.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
-
connectionArn
The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
- Parameters:
connectionArn
- The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.The ARN is never reused if the connection is deleted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the resource.
- Parameters:
tags
- Specifies the tags applied to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the resource.
- Parameters:
tags
- Specifies the tags applied to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-