asHttp2
Casts this VirtualGatewayConnectionPool as a Http2 and retrieves its aws.sdk.kotlin.services.appmesh.model.VirtualGatewayHttp2ConnectionPool value. Throws an exception if the VirtualGatewayConnectionPool is not a Http2.
Casts this VirtualGatewayConnectionPool as a Http2 and retrieves its aws.sdk.kotlin.services.appmesh.model.VirtualGatewayHttp2ConnectionPool value. Throws an exception if the VirtualGatewayConnectionPool is not a Http2.