Interface VirtualRouterData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualRouterData.Builder,VirtualRouterData>,SdkBuilder<VirtualRouterData.Builder,VirtualRouterData>,SdkPojo
- Enclosing class:
- VirtualRouterData
public static interface VirtualRouterData.Builder extends SdkPojo, CopyableBuilder<VirtualRouterData.Builder,VirtualRouterData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VirtualRouterData.BuildermeshName(String meshName)The 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.VirtualRouterData.Buildermetadata(ResourceMetadata metadata)The associated metadata for the virtual router.default VirtualRouterData.Builderspec(Consumer<VirtualRouterSpec.Builder> spec)The specifications of the virtual router.VirtualRouterData.Builderspec(VirtualRouterSpec spec)The specifications of the virtual router.default VirtualRouterData.Builderstatus(Consumer<VirtualRouterStatus.Builder> status)The current status of the virtual router.VirtualRouterData.Builderstatus(VirtualRouterStatus status)The current status of the virtual router.VirtualRouterData.BuildervirtualRouterName(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 Detail
-
meshName
VirtualRouterData.Builder meshName(String 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
VirtualRouterData.Builder metadata(ResourceMetadata 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
default VirtualRouterData.Builder metadata(Consumer<ResourceMetadata.Builder> 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:
metadata(ResourceMetadata)
-
spec
VirtualRouterData.Builder spec(VirtualRouterSpec 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
default VirtualRouterData.Builder spec(Consumer<VirtualRouterSpec.Builder> 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:
spec(VirtualRouterSpec)
-
status
VirtualRouterData.Builder status(VirtualRouterStatus 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
default VirtualRouterData.Builder status(Consumer<VirtualRouterStatus.Builder> 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:
status(VirtualRouterStatus)
-
virtualRouterName
VirtualRouterData.Builder virtualRouterName(String 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.
-
-