Interface VirtualRouterData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualRouterData.Builder,
,VirtualRouterData> SdkBuilder<VirtualRouterData.Builder,
,VirtualRouterData> SdkPojo
- Enclosing class:
VirtualRouterData
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the service mesh that the virtual router resides in.default VirtualRouterData.Builder
metadata
(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the virtual router.metadata
(ResourceMetadata metadata) The associated metadata for the virtual router.default VirtualRouterData.Builder
The specifications of the virtual router.spec
(VirtualRouterSpec spec) The specifications of the virtual router.default VirtualRouterData.Builder
status
(Consumer<VirtualRouterStatus.Builder> status) The current status of the virtual router.status
(VirtualRouterStatus status) The current status of the virtual router.virtualRouterName
(String virtualRouterName) The name of the virtual router.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
-
Method Details
-
meshName
The name of the service mesh that the virtual router resides in.
- Parameters:
meshName
- The name of the service mesh that the virtual router resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the virtual router.
- Parameters:
metadata
- The associated metadata for the virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The associated metadata for the virtual router.
This is a convenience method that creates an instance of theResourceMetadata.Builder
avoiding the need to create one manually viaResourceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(ResourceMetadata)
.- Parameters:
metadata
- a consumer that will call methods onResourceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spec
The specifications of the virtual router.
- Parameters:
spec
- The specifications of the virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The specifications of the virtual router.
This is a convenience method that creates an instance of theVirtualRouterSpec.Builder
avoiding the need to create one manually viaVirtualRouterSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospec(VirtualRouterSpec)
.- Parameters:
spec
- a consumer that will call methods onVirtualRouterSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the virtual router.
- Parameters:
status
- The current status of the virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the virtual router.
This is a convenience method that creates an instance of theVirtualRouterStatus.Builder
avoiding the need to create one manually viaVirtualRouterStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(VirtualRouterStatus)
.- Parameters:
status
- a consumer that will call methods onVirtualRouterStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualRouterName
The name of the virtual router.
- Parameters:
virtualRouterName
- The name of the virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-