@InterfaceAudience.Public @InterfaceStability.Unstable @Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2016-06-02T08:15:05.615-07:00") public class PlacementPolicy extends Object implements Serializable
Constructor and Description |
---|
PlacementPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getLabel() |
int |
hashCode() |
PlacementPolicy |
label(String label)
Assigns a service to a named partition of the cluster where the service
desires to run (optional).
|
void |
setLabel(String label) |
String |
toString() |
public PlacementPolicy label(String label)
public String getLabel()
public void setLabel(String label)
Copyright © 2018 Apache Software Foundation. All rights reserved.