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.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata) The associated metadata for the virtual router.metadata(ResourceMetadata metadata) The associated metadata for the virtual router.default VirtualRouterData.BuilderThe specifications of the virtual router.spec(VirtualRouterSpec spec) The specifications of the virtual router.default VirtualRouterData.Builderstatus(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaResourceMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVirtualRouterSpec.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVirtualRouterStatus.builder().When the
Consumercompletes,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.
-