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
Modifier and TypeMethodDescriptiongatewayRouteName(String gatewayRouteName) The name of the gateway route.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.metadata(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.spec(GatewayRouteSpec spec) The specifications of the gateway route.default GatewayRouteData.Builderstatus(Consumer<GatewayRouteStatus.Builder> status) The status of the gateway route.status(GatewayRouteStatus status) The status of the gateway route.virtualGatewayName(String virtualGatewayName) The virtual gateway that the gateway route is associated with.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, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
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
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
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 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
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:
 
 - 
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
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:
 
 - 
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.
 
 
 -