@Override public String toString() { return UPPER_UNDERSCORE.to(UPPER_CAMEL, name()); } }
public static ClusterType fromValue(String value) { try { return valueOf(UPPER_CAMEL.to(UPPER_UNDERSCORE, value)); } catch (IllegalArgumentException e) { return UNKNOWN; } }
public ListClustersOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.of(clusterType.toString())); return this; }
/** * @param clusterType type of the cluster */ public UpdateClusterOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.<String>of(clusterType.toString())); return this; }
public ListClustersOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.of(clusterType.toString())); return this; }
/** * @param clusterType type of the cluster */ public UpdateClusterOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.<String>of(clusterType.toString())); return this; }
@Override public String toString() { return UPPER_UNDERSCORE.to(UPPER_CAMEL, name()); } }
public static ClusterType fromValue(String value) { try { return valueOf(UPPER_CAMEL.to(UPPER_UNDERSCORE, value)); } catch (IllegalArgumentException e) { return UNKNOWN; } }
public ListClustersOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.of(clusterType.toString())); return this; }
public static ClusterType fromValue(String value) { try { return valueOf(UPPER_CAMEL.to(UPPER_UNDERSCORE, value)); } catch (IllegalArgumentException e) { return UNKNOWN; } }
/** * @param clusterType type of the cluster */ public UpdateClusterOptions clusterType(Host.ClusterType clusterType) { this.queryParameters.replaceValues("clustertype", ImmutableSet.<String>of(clusterType.toString())); return this; }
@Override public String toString() { return UPPER_UNDERSCORE.to(UPPER_CAMEL, name()); } }