public static interface VirtualServiceData.Builder extends SdkPojo, CopyableBuilder<VirtualServiceData.Builder,VirtualServiceData>
| Modifier and Type | Method and Description |
|---|---|
VirtualServiceData.Builder |
meshName(String meshName)
The name of the service mesh that the virtual service resides in.
|
default VirtualServiceData.Builder |
metadata(Consumer<ResourceMetadata.Builder> metadata)
Sets the value of the Metadata property for this object.
|
VirtualServiceData.Builder |
metadata(ResourceMetadata metadata)
Sets the value of the Metadata property for this object.
|
default VirtualServiceData.Builder |
spec(Consumer<VirtualServiceSpec.Builder> spec)
The specifications of the virtual service.
|
VirtualServiceData.Builder |
spec(VirtualServiceSpec spec)
The specifications of the virtual service.
|
default VirtualServiceData.Builder |
status(Consumer<VirtualServiceStatus.Builder> status)
The current status of the virtual service.
|
VirtualServiceData.Builder |
status(VirtualServiceStatus status)
The current status of the virtual service.
|
VirtualServiceData.Builder |
virtualServiceName(String virtualServiceName)
The name of the virtual service.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVirtualServiceData.Builder meshName(String meshName)
The name of the service mesh that the virtual service resides in.
meshName - The name of the service mesh that the virtual service resides in.VirtualServiceData.Builder metadata(ResourceMetadata metadata)
metadata - The new value for the Metadata property for this object.default VirtualServiceData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
ResourceMetadata.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.Buildermetadata(ResourceMetadata)VirtualServiceData.Builder spec(VirtualServiceSpec spec)
The specifications of the virtual service.
spec - The specifications of the virtual service.default VirtualServiceData.Builder spec(Consumer<VirtualServiceSpec.Builder> spec)
The specifications of the virtual service.
This is a convenience that creates an instance of theVirtualServiceSpec.Builder avoiding the need to
create one manually via VirtualServiceSpec.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to spec(VirtualServiceSpec).spec - a consumer that will call methods on VirtualServiceSpec.Builderspec(VirtualServiceSpec)VirtualServiceData.Builder status(VirtualServiceStatus status)
The current status of the virtual service.
status - The current status of the virtual service.default VirtualServiceData.Builder status(Consumer<VirtualServiceStatus.Builder> status)
The current status of the virtual service.
This is a convenience that creates an instance of theVirtualServiceStatus.Builder avoiding the need
to create one manually via VirtualServiceStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to status(VirtualServiceStatus).status - a consumer that will call methods on VirtualServiceStatus.Builderstatus(VirtualServiceStatus)VirtualServiceData.Builder virtualServiceName(String virtualServiceName)
The name of the virtual service.
virtualServiceName - The name of the virtual service.Copyright © 2021. All rights reserved.