public static interface Connection.Builder extends SdkPojo, CopyableBuilder<Connection.Builder,Connection>
| Modifier and Type | Method and Description |
|---|---|
Connection.Builder |
connectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
|
Connection.Builder |
connectedLinkId(String connectedLinkId)
The ID of the link for the second device in the connection.
|
Connection.Builder |
connectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection.
|
Connection.Builder |
connectionId(String connectionId)
The ID of the connection.
|
Connection.Builder |
createdAt(Instant createdAt)
The date and time that the connection was created.
|
Connection.Builder |
description(String description)
The description of the connection.
|
Connection.Builder |
deviceId(String deviceId)
The ID of the first device in the connection.
|
Connection.Builder |
globalNetworkId(String globalNetworkId)
The ID of the global network.
|
Connection.Builder |
linkId(String linkId)
The ID of the link for the first device in the connection.
|
Connection.Builder |
state(ConnectionState state)
The state of the connection.
|
Connection.Builder |
state(String state)
The state of the connection.
|
Connection.Builder |
tags(Collection<Tag> tags)
The tags for the connection.
|
Connection.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the connection.
|
Connection.Builder |
tags(Tag... tags)
The tags for the connection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConnection.Builder connectionId(String connectionId)
The ID of the connection.
connectionId - The ID of the connection.Connection.Builder connectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection.
connectionArn - The Amazon Resource Name (ARN) of the connection.Connection.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId - The ID of the global network.Connection.Builder deviceId(String deviceId)
The ID of the first device in the connection.
deviceId - The ID of the first device in the connection.Connection.Builder connectedDeviceId(String connectedDeviceId)
The ID of the second device in the connection.
connectedDeviceId - The ID of the second device in the connection.Connection.Builder linkId(String linkId)
The ID of the link for the first device in the connection.
linkId - The ID of the link for the first device in the connection.Connection.Builder connectedLinkId(String connectedLinkId)
The ID of the link for the second device in the connection.
connectedLinkId - The ID of the link for the second device in the connection.Connection.Builder description(String description)
The description of the connection.
description - The description of the connection.Connection.Builder createdAt(Instant createdAt)
The date and time that the connection was created.
createdAt - The date and time that the connection was created.Connection.Builder state(String state)
The state of the connection.
state - The state of the connection.ConnectionState,
ConnectionStateConnection.Builder state(ConnectionState state)
The state of the connection.
state - The state of the connection.ConnectionState,
ConnectionStateConnection.Builder tags(Collection<Tag> tags)
The tags for the connection.
tags - The tags for the connection.Connection.Builder tags(Tag... tags)
The tags for the connection.
tags - The tags for the connection.Connection.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the connection.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.