public static interface VirtualRouterData.Builder extends SdkPojo, CopyableBuilder<VirtualRouterData.Builder,VirtualRouterData>
Modifier and Type | Method and Description |
---|---|
VirtualRouterData.Builder |
meshName(String meshName)
The name of the service mesh in which the virtual router resides.
|
default VirtualRouterData.Builder |
metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the virtual router.
|
VirtualRouterData.Builder |
metadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
|
default VirtualRouterData.Builder |
spec(Consumer<VirtualRouterSpec.Builder> spec)
The specifications of the virtual router.
|
VirtualRouterData.Builder |
spec(VirtualRouterSpec spec)
The specifications of the virtual router.
|
default VirtualRouterData.Builder |
status(Consumer<VirtualRouterStatus.Builder> status)
The current status of the virtual router.
|
VirtualRouterData.Builder |
status(VirtualRouterStatus status)
The current status of the virtual router.
|
VirtualRouterData.Builder |
virtualRouterName(String virtualRouterName)
The name of the virtual router.
|
copy
applyMutation, build
VirtualRouterData.Builder meshName(String meshName)
The name of the service mesh in which the virtual router resides.
meshName
- The name of the service mesh in which the virtual router resides.VirtualRouterData.Builder metadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
metadata
- The associated metadata for the virtual router.default VirtualRouterData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the virtual router.
This is a convenience that creates an instance of theResourceMetadata.Builder
avoiding the need to
create one manually via ResourceMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadata(ResourceMetadata)
.metadata
- a consumer that will call methods on ResourceMetadata.Builder
metadata(ResourceMetadata)
VirtualRouterData.Builder spec(VirtualRouterSpec spec)
The specifications of the virtual router.
spec
- The specifications of the virtual router.default VirtualRouterData.Builder spec(Consumer<VirtualRouterSpec.Builder> spec)
The specifications of the virtual router.
This is a convenience that creates an instance of theVirtualRouterSpec.Builder
avoiding the need to
create one manually via VirtualRouterSpec.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to spec(VirtualRouterSpec)
.spec
- a consumer that will call methods on VirtualRouterSpec.Builder
spec(VirtualRouterSpec)
VirtualRouterData.Builder status(VirtualRouterStatus status)
The current status of the virtual router.
status
- The current status of the virtual router.default VirtualRouterData.Builder status(Consumer<VirtualRouterStatus.Builder> status)
The current status of the virtual router.
This is a convenience that creates an instance of theVirtualRouterStatus.Builder
avoiding the need
to create one manually via VirtualRouterStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to status(VirtualRouterStatus)
.status
- a consumer that will call methods on VirtualRouterStatus.Builder
status(VirtualRouterStatus)
VirtualRouterData.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router.
virtualRouterName
- The name of the virtual router.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.