public static class CreateUserAccount.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<CreateUserAccount> implements org.apache.avro.data.RecordBuilder<CreateUserAccount>
| Modifier and Type | Method and Description |
|---|---|
CreateUserAccount |
build() |
CreateUserAccount.Builder |
clearBalance()
Clears the value of the 'balance' field.
|
CreateUserAccount.Builder |
clearUsername()
Clears the value of the 'username' field.
|
BigDecimal |
getBalance()
Gets the value of the 'balance' field.
|
String |
getUsername()
Gets the value of the 'username' field.
|
boolean |
hasBalance()
Checks whether the 'balance' field has been set.
|
boolean |
hasUsername()
Checks whether the 'username' field has been set.
|
CreateUserAccount.Builder |
setBalance(BigDecimal value)
Sets the value of the 'balance' field.
|
CreateUserAccount.Builder |
setUsername(String value)
Sets the value of the 'username' field.
|
public String getUsername()
public CreateUserAccount.Builder setUsername(String value)
value - The value of 'username'.public boolean hasUsername()
public CreateUserAccount.Builder clearUsername()
public BigDecimal getBalance()
public CreateUserAccount.Builder setBalance(BigDecimal value)
value - The value of 'balance'.public boolean hasBalance()
public CreateUserAccount.Builder clearBalance()
public CreateUserAccount build()
build in interface org.apache.avro.data.RecordBuilder<CreateUserAccount>Copyright © 2018. All rights reserved.