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