public class Cost extends Object
ServerDetails
Modifier and Type | Class and Description |
---|---|
static class |
Cost.Builder<T extends Cost.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Cost(double amount,
String currency,
String timePeriod) |
Modifier and Type | Method and Description |
---|---|
static Cost.Builder<?> |
builder() |
boolean |
equals(Object obj) |
double |
getAmount() |
String |
getCurrency() |
String |
getTimePeriod() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Cost.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"amount","currency","timeperiod"}) protected Cost(double amount, String currency, String timePeriod)
public static Cost.Builder<?> builder()
public Cost.Builder<?> toBuilder()
public double getAmount()
public String getCurrency()
public String getTimePeriod()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.