public class UserCustomQuotaArg
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
quotaGb |
protected UserSelectorArg |
user |
Constructor and Description |
---|
UserCustomQuotaArg(UserSelectorArg user,
long quotaGb)
User and their required custom quota in GB (1 TB = 1024 GB).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getQuotaGb() |
UserSelectorArg |
getUser() |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UserSelectorArg user
protected final long quotaGb
public UserCustomQuotaArg(UserSelectorArg user, long quotaGb)
user
- Must not be null
.quotaGb
- Must be greater than or equal to 15.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserSelectorArg getUser()
null
.public long getQuotaGb()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.