public static interface ConnectPeer.Builder extends SdkPojo, CopyableBuilder<ConnectPeer.Builder,ConnectPeer>
| Modifier and Type | Method and Description |
|---|---|
ConnectPeer.Builder |
configuration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
|
default ConnectPeer.Builder |
configuration(Consumer<ConnectPeerConfiguration.Builder> configuration)
The configuration of the Connect peer.
|
ConnectPeer.Builder |
connectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
|
ConnectPeer.Builder |
connectPeerId(String connectPeerId)
The ID of the Connect peer.
|
ConnectPeer.Builder |
coreNetworkId(String coreNetworkId)
The ID of a core network.
|
ConnectPeer.Builder |
createdAt(Instant createdAt)
The timestamp when the Connect peer was created.
|
ConnectPeer.Builder |
edgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
|
ConnectPeer.Builder |
state(ConnectPeerState state)
The state of the Connect peer.
|
ConnectPeer.Builder |
state(String state)
The state of the Connect peer.
|
ConnectPeer.Builder |
tags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer.
|
ConnectPeer.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with the Connect peer.
|
ConnectPeer.Builder |
tags(Tag... tags)
The list of key-value tags associated with the Connect peer.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConnectPeer.Builder coreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId - The ID of a core network.ConnectPeer.Builder connectAttachmentId(String connectAttachmentId)
The ID of the attachment to connect.
connectAttachmentId - The ID of the attachment to connect.ConnectPeer.Builder connectPeerId(String connectPeerId)
The ID of the Connect peer.
connectPeerId - The ID of the Connect peer.ConnectPeer.Builder edgeLocation(String edgeLocation)
The Connect peer Regions where edges are located.
edgeLocation - The Connect peer Regions where edges are located.ConnectPeer.Builder state(String state)
The state of the Connect peer.
state - The state of the Connect peer.ConnectPeerState,
ConnectPeerStateConnectPeer.Builder state(ConnectPeerState state)
The state of the Connect peer.
state - The state of the Connect peer.ConnectPeerState,
ConnectPeerStateConnectPeer.Builder createdAt(Instant createdAt)
The timestamp when the Connect peer was created.
createdAt - The timestamp when the Connect peer was created.ConnectPeer.Builder configuration(ConnectPeerConfiguration configuration)
The configuration of the Connect peer.
configuration - The configuration of the Connect peer.default ConnectPeer.Builder configuration(Consumer<ConnectPeerConfiguration.Builder> configuration)
The configuration of the Connect peer.
This is a convenience method that creates an instance of theConnectPeerConfiguration.Builder
avoiding the need to create one manually via ConnectPeerConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to configuration(ConnectPeerConfiguration).
configuration - a consumer that will call methods on ConnectPeerConfiguration.Builderconfiguration(ConnectPeerConfiguration)ConnectPeer.Builder tags(Collection<Tag> tags)
The list of key-value tags associated with the Connect peer.
tags - The list of key-value tags associated with the Connect peer.ConnectPeer.Builder tags(Tag... tags)
The list of key-value tags associated with the Connect peer.
tags - The list of key-value tags associated with the Connect peer.ConnectPeer.Builder tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with the Connect peer.
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 © 2022. All rights reserved.