Interface ListLinksResponseStructure.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListLinksResponseStructure.Builder,
,ListLinksResponseStructure> SdkBuilder<ListLinksResponseStructure.Builder,
,ListLinksResponseStructure> SdkPojo
- Enclosing class:
ListLinksResponseStructure
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Consumer<LinkAttributes.Builder> attributes) Describes attributes of a link.attributes
(LinkAttributes attributes) Describes attributes of a link.The timestamp of when the link was created.The direction of the link.direction
(LinkDirection direction) The direction of the link.flowModules
(Collection<ModuleConfiguration> flowModules) Describes the configuration of flow modules.flowModules
(Consumer<ModuleConfiguration.Builder>... flowModules) Describes the configuration of flow modules.flowModules
(ModuleConfiguration... flowModules) Describes the configuration of flow modules.The unique identifier of the gateway.The unique identifier of the link.peerGatewayId
(String peerGatewayId) The unique identifier of the peer gateway.pendingFlowModules
(Collection<ModuleConfiguration> pendingFlowModules) Describes the configuration of pending flow modules.pendingFlowModules
(Consumer<ModuleConfiguration.Builder>... pendingFlowModules) Describes the configuration of pending flow modules.pendingFlowModules
(ModuleConfiguration... pendingFlowModules) Describes the configuration of pending flow modules.The status of the link.status
(LinkStatus status) The status of the link.A map of the key-value pairs of the tag or tags to assign to the resource.The timestamp of when the link was updated.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
-
Method Details
-
gatewayId
The unique identifier of the gateway.
- Parameters:
gatewayId
- The unique identifier of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerGatewayId
The unique identifier of the peer gateway.
- Parameters:
peerGatewayId
- The unique identifier of the peer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the link.
- Parameters:
status
- The status of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the link.
- Parameters:
status
- The status of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when the link was created.
- Parameters:
createdAt
- The timestamp of when the link was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when the link was updated.
- Parameters:
updatedAt
- The timestamp of when the link was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
direction
The direction of the link.
- Parameters:
direction
- The direction of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
direction
The direction of the link.
- Parameters:
direction
- The direction of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowModules
Describes the configuration of flow modules.
- Parameters:
flowModules
- Describes the configuration of flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowModules
Describes the configuration of flow modules.
- Parameters:
flowModules
- Describes the configuration of flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowModules
ListLinksResponseStructure.Builder flowModules(Consumer<ModuleConfiguration.Builder>... flowModules) Describes the configuration of flow modules.
This is a convenience method that creates an instance of theModuleConfiguration.Builder
avoiding the need to create one manually viaModuleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflowModules(List<ModuleConfiguration>)
.- Parameters:
flowModules
- a consumer that will call methods onModuleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingFlowModules
ListLinksResponseStructure.Builder pendingFlowModules(Collection<ModuleConfiguration> pendingFlowModules) Describes the configuration of pending flow modules.
- Parameters:
pendingFlowModules
- Describes the configuration of pending flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingFlowModules
Describes the configuration of pending flow modules.
- Parameters:
pendingFlowModules
- Describes the configuration of pending flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingFlowModules
ListLinksResponseStructure.Builder pendingFlowModules(Consumer<ModuleConfiguration.Builder>... pendingFlowModules) Describes the configuration of pending flow modules.
This is a convenience method that creates an instance of theModuleConfiguration.Builder
avoiding the need to create one manually viaModuleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingFlowModules(List<ModuleConfiguration>)
.- Parameters:
pendingFlowModules
- a consumer that will call methods onModuleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
Describes attributes of a link.
- Parameters:
attributes
- Describes attributes of a link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Describes attributes of a link.
This is a convenience method that creates an instance of theLinkAttributes.Builder
avoiding the need to create one manually viaLinkAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(LinkAttributes)
.- Parameters:
attributes
- a consumer that will call methods onLinkAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
linkId
The unique identifier of the link.
- Parameters:
linkId
- The unique identifier of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs of the tag or tags to assign to the resource.
- Parameters:
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-