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
Modifier and TypeMethodDescriptionThe 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.metadata(ResourceMetadata metadata) Sets the value of the Metadata property for this object.default VirtualServiceData.BuilderThe specifications of the virtual service.spec(VirtualServiceSpec spec) The specifications of the virtual service.default VirtualServiceData.Builderstatus(Consumer<VirtualServiceStatus.Builder> status) The current status of the virtual service.status(VirtualServiceStatus status) The current status of the virtual service.virtualServiceName(String virtualServiceName) The name of the virtual service.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 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
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
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:
-
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
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:
-
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
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:
-
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.
-