Interface VirtualGatewayData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayData.Builder,
,VirtualGatewayData> SdkBuilder<VirtualGatewayData.Builder,
,VirtualGatewayData> SdkPojo
- Enclosing class:
VirtualGatewayData
@Mutable
@NotThreadSafe
public static interface VirtualGatewayData.Builder
extends SdkPojo, CopyableBuilder<VirtualGatewayData.Builder,VirtualGatewayData>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the service mesh that the virtual gateway resides in.default VirtualGatewayData.Builder
metadata
(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 VirtualGatewayData.Builder
The specifications of the virtual gateway.spec
(VirtualGatewaySpec spec) The specifications of the virtual gateway.default VirtualGatewayData.Builder
status
(Consumer<VirtualGatewayStatus.Builder> status) The current status of the virtual gateway.status
(VirtualGatewayStatus status) The current status of the virtual gateway.virtualGatewayName
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.Builder
avoiding the need to create one manually viaResourceMetadata.builder()
.When the
Consumer
completes,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 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
The specifications of the virtual gateway.
This is a convenience method that creates an instance of theVirtualGatewaySpec.Builder
avoiding the need to create one manually viaVirtualGatewaySpec.builder()
.When the
Consumer
completes,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:
-
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
The current status of the virtual gateway.
This is a convenience method that creates an instance of theVirtualGatewayStatus.Builder
avoiding the need to create one manually viaVirtualGatewayStatus.builder()
.When the
Consumer
completes,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:
-
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.
-