Interface VirtualServiceData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualServiceData.Builder,VirtualServiceData>,SdkBuilder<VirtualServiceData.Builder,VirtualServiceData>,SdkPojo
- Enclosing class:
- VirtualServiceData
public static interface VirtualServiceData.Builder extends SdkPojo, CopyableBuilder<VirtualServiceData.Builder,VirtualServiceData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VirtualServiceData.BuildermeshName(String meshName)The name of the service mesh that the virtual service resides in.default VirtualServiceData.Buildermetadata(Consumer<ResourceMetadata.Builder> metadata)Sets the value of the Metadata property for this object.VirtualServiceData.Buildermetadata(ResourceMetadata metadata)Sets the value of the Metadata property for this object.default VirtualServiceData.Builderspec(Consumer<VirtualServiceSpec.Builder> spec)The specifications of the virtual service.VirtualServiceData.Builderspec(VirtualServiceSpec spec)The specifications of the virtual service.default VirtualServiceData.Builderstatus(Consumer<VirtualServiceStatus.Builder> status)The current status of the virtual service.VirtualServiceData.Builderstatus(VirtualServiceStatus status)The current status of the virtual service.VirtualServiceData.BuildervirtualServiceName(String virtualServiceName)The name of the virtual service.-
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
VirtualServiceData.Builder meshName(String meshName)
The name of the service mesh that the virtual service resides in.
- Parameters:
meshName- The name of the service mesh that the virtual service resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
VirtualServiceData.Builder metadata(ResourceMetadata metadata)
Sets the value of the Metadata property for this object.- Parameters:
metadata- The new value for the Metadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default VirtualServiceData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
Sets the value of the Metadata property for this object. 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
VirtualServiceData.Builder spec(VirtualServiceSpec spec)
The specifications of the virtual service.
- Parameters:
spec- The specifications of the virtual service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
default VirtualServiceData.Builder spec(Consumer<VirtualServiceSpec.Builder> spec)
The specifications of the virtual service.
This is a convenience method that creates an instance of theVirtualServiceSpec.Builderavoiding the need to create one manually viaVirtualServiceSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(VirtualServiceSpec).- Parameters:
spec- a consumer that will call methods onVirtualServiceSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spec(VirtualServiceSpec)
-
status
VirtualServiceData.Builder status(VirtualServiceStatus status)
The current status of the virtual service.
- Parameters:
status- The current status of the virtual service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default VirtualServiceData.Builder status(Consumer<VirtualServiceStatus.Builder> status)
The current status of the virtual service.
This is a convenience method that creates an instance of theVirtualServiceStatus.Builderavoiding the need to create one manually viaVirtualServiceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(VirtualServiceStatus).- Parameters:
status- a consumer that will call methods onVirtualServiceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(VirtualServiceStatus)
-
virtualServiceName
VirtualServiceData.Builder virtualServiceName(String virtualServiceName)
The name of the virtual service.
- Parameters:
virtualServiceName- The name of the virtual service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-