/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }
/** * Use this in place of valueOf to convert the raw string returned by the service into the enum value. * * @param value * real value * @return ConnectionType corresponding to the value */ public static ConnectionType fromValue(String value) { if (value == null) { return null; } return Stream.of(ConnectionType.values()).filter(e -> e.toString().equals(value)).findFirst() .orElse(UNKNOWN_TO_SDK_VERSION); }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
/** * Use this in place of {@link #values()} to return a {@link Set} of all values known to the SDK. This will return * all known enum values except {@link #UNKNOWN_TO_SDK_VERSION}. * * @return a {@link Set} of known {@link ConnectionType}s */ public static Set<ConnectionType> knownValues() { return Stream.of(values()).filter(v -> v != UNKNOWN_TO_SDK_VERSION).collect(toSet()); } }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }
@Override public final Builder connectionType(ConnectionType connectionType) { this.connectionType(connectionType.toString()); return this; }
/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }
/** * <p> * The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> for * connections through the public routable internet or <code>VPC_LINK</code> for private connections between API * Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #connectionType} * will return {@link ConnectionType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #connectionTypeAsString}. * </p> * * @return The type of the network connection to the integration endpoint. The valid value is <code>INTERNET</code> * for connections through the public routable internet or <code>VPC_LINK</code> for private connections * between API Gateway and a network load balancer in a VPC. The default value is <code>INTERNET</code>. * @see ConnectionType */ public ConnectionType connectionType() { return ConnectionType.fromValue(connectionType); }