Modifier and Type | Method and Description |
---|---|
Command |
build() |
Command.Builder |
clearCorrelationId()
Clears the value of the 'correlationId' field.
|
Command.Builder |
clearPayload()
Clears the value of the 'payload' field.
|
Command.Builder |
clearType()
Clears the value of the 'type' field.
|
CharSequence |
getCorrelationId()
Gets the value of the 'correlationId' field.
|
Object |
getPayload()
Gets the value of the 'payload' field.
|
CharSequence |
getType()
Gets the value of the 'type' field.
|
boolean |
hasCorrelationId()
Checks whether the 'correlationId' field has been set.
|
boolean |
hasPayload()
Checks whether the 'payload' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
Command.Builder |
setCorrelationId(CharSequence value)
Sets the value of the 'correlationId' field.
|
Command.Builder |
setPayload(Object value)
Sets the value of the 'payload' field.
|
Command.Builder |
setType(CharSequence value)
Sets the value of the 'type' field.
|
public CharSequence getType()
public Command.Builder setType(CharSequence value)
value
- The value of 'type'.public boolean hasType()
public Command.Builder clearType()
public CharSequence getCorrelationId()
public Command.Builder setCorrelationId(CharSequence value)
value
- The value of 'correlationId'.public boolean hasCorrelationId()
public Command.Builder clearCorrelationId()
public Object getPayload()
public Command.Builder setPayload(Object value)
value
- The value of 'payload'.public boolean hasPayload()
public Command.Builder clearPayload()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.