Interface AcceptLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AcceptLinkResponse.Builder,
,AcceptLinkResponse> RtbFabricResponse.Builder
,SdkBuilder<AcceptLinkResponse.Builder,
,AcceptLinkResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AcceptLinkResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptLinkResponse.Builder
attributes
(Consumer<LinkAttributes.Builder> attributes) Attributes of the link.attributes
(LinkAttributes attributes) Attributes of the 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) The configuration of flow modules.flowModules
(Consumer<ModuleConfiguration.Builder>... flowModules) The configuration of flow modules.flowModules
(ModuleConfiguration... flowModules) 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) The configuration of pending flow modules.pendingFlowModules
(Consumer<ModuleConfiguration.Builder>... pendingFlowModules) The configuration of pending flow modules.pendingFlowModules
(ModuleConfiguration... pendingFlowModules) The configuration of pending flow modules.The status of the link.status
(LinkStatus status) The status of the link.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.services.rtbfabric.model.RtbFabricResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
The configuration of flow modules.
- Parameters:
flowModules
- The configuration of flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowModules
The configuration of flow modules.
- Parameters:
flowModules
- The configuration of flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowModules
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
The configuration of pending flow modules.
- Parameters:
pendingFlowModules
- The configuration of pending flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingFlowModules
The configuration of pending flow modules.
- Parameters:
pendingFlowModules
- The configuration of pending flow modules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingFlowModules
AcceptLinkResponse.Builder pendingFlowModules(Consumer<ModuleConfiguration.Builder>... pendingFlowModules) 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
Attributes of the link.
- Parameters:
attributes
- Attributes of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes of the 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.
-