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