Interface CreateConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeConnectionsResponse.Builder,CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,SdkBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateConnectionResponse
public static interface CreateConnectionResponse.Builder extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateConnectionResponse.BuilderconnectionArn(String connectionArn)The Amazon Resource Name (ARN) of the connection to be created.CreateConnectionResponse.Buildertags(Collection<Tag> tags)Specifies the tags applied to the resource.CreateConnectionResponse.Buildertags(Consumer<Tag.Builder>... tags)Specifies the tags applied to the resource.CreateConnectionResponse.Buildertags(Tag... tags)Specifies the tags applied to the resource.-
Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsResponse.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 Detail
-
connectionArn
CreateConnectionResponse.Builder connectionArn(String 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
CreateConnectionResponse.Builder tags(Collection<Tag> 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
CreateConnectionResponse.Builder tags(Tag... 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
CreateConnectionResponse.Builder tags(Consumer<Tag.Builder>... tags)
Specifies the tags applied to the resource.
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)
-
-