Class ConfigurationManagementRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ConfigurationManagementRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ConfigurationManagementRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
section
public String
config
public ConfigurationSchemaVersion
schemaVersion
public ConfigurationSchemaVersion.Builder
schemaVersionBuilder
public String
updateActor
public int
version
-
Method Summary
Modifier and Type Method Description String
getSection()
Gets the value of the 'section' field. ConfigurationManagementRequest.Builder
setSection(String value)
Sets the value of the 'section' field. String
getConfig()
Gets the value of the 'config' field. ConfigurationManagementRequest.Builder
setConfig(String value)
Sets the value of the 'config' field. ConfigurationSchemaVersion
getSchemaVersion()
Gets the value of the 'schemaVersion' field. ConfigurationManagementRequest.Builder
setSchemaVersion(ConfigurationSchemaVersion value)
Sets the value of the 'schemaVersion' field. ConfigurationSchemaVersion.Builder
getSchemaVersionBuilder()
Gets the Builder instance for the 'schemaVersion' field and creates one if it doesn't exist yet. ConfigurationManagementRequest.Builder
setSchemaVersionBuilder(ConfigurationSchemaVersion.Builder value)
Sets the Builder instance for the 'schemaVersion' field Schema version of the updated configuration. String
getUpdateActor()
Gets the value of the 'updateActor' field. ConfigurationManagementRequest.Builder
setUpdateActor(String value)
Sets the value of the 'updateActor' field. int
getVersion()
Gets the value of the 'version' field. ConfigurationManagementRequest.Builder
setVersion(int value)
Sets the value of the 'version' field. boolean
hasSection()
Checks whether the 'section' field has been set. ConfigurationManagementRequest.Builder
clearSection()
Clears the value of the 'section' field. boolean
hasConfig()
Checks whether the 'config' field has been set. ConfigurationManagementRequest.Builder
clearConfig()
Clears the value of the 'config' field. boolean
hasSchemaVersion()
Checks whether the 'schemaVersion' field has been set. boolean
hasSchemaVersionBuilder()
Checks whether the 'schemaVersion' field has an active Builder instance Schema version of the updated configuration. ConfigurationManagementRequest.Builder
clearSchemaVersion()
Clears the value of the 'schemaVersion' field. boolean
hasUpdateActor()
Checks whether the 'updateActor' field has been set. ConfigurationManagementRequest.Builder
clearUpdateActor()
Clears the value of the 'updateActor' field. boolean
hasVersion()
Checks whether the 'version' field has been set. ConfigurationManagementRequest.Builder
clearVersion()
Clears the value of the 'version' field. ConfigurationManagementRequest
build()
-
-
Method Detail
-
getSection
String getSection()
Gets the value of the 'section' field. Section of the configuration to update.
-
setSection
ConfigurationManagementRequest.Builder setSection(String value)
Sets the value of the 'section' field. Section of the configuration to update.
- Parameters:
value
- The value of 'section'.
-
getConfig
String getConfig()
Gets the value of the 'config' field. Updated configuration in JSON or HOCON format.
-
setConfig
ConfigurationManagementRequest.Builder setConfig(String value)
Sets the value of the 'config' field. Updated configuration in JSON or HOCON format.
- Parameters:
value
- The value of 'config'.
-
getSchemaVersion
ConfigurationSchemaVersion getSchemaVersion()
Gets the value of the 'schemaVersion' field. Schema version of the updated configuration.
-
setSchemaVersion
ConfigurationManagementRequest.Builder setSchemaVersion(ConfigurationSchemaVersion value)
Sets the value of the 'schemaVersion' field. Schema version of the updated configuration.
- Parameters:
value
- The value of 'schemaVersion'.
-
getSchemaVersionBuilder
ConfigurationSchemaVersion.Builder getSchemaVersionBuilder()
Gets the Builder instance for the 'schemaVersion' field and creates one if it doesn't exist yet. Schema version of the updated configuration.
-
setSchemaVersionBuilder
ConfigurationManagementRequest.Builder setSchemaVersionBuilder(ConfigurationSchemaVersion.Builder value)
Sets the Builder instance for the 'schemaVersion' field Schema version of the updated configuration.
- Parameters:
value
- The builder instance that must be set.
-
getUpdateActor
String getUpdateActor()
Gets the value of the 'updateActor' field. ID of RPC user that requested the configuration update.
-
setUpdateActor
ConfigurationManagementRequest.Builder setUpdateActor(String value)
Sets the value of the 'updateActor' field. ID of RPC user that requested the configuration update.
- Parameters:
value
- The value of 'updateActor'.
-
getVersion
int getVersion()
Gets the value of the 'version' field. Version of the configuration for optimistic locking.
-
setVersion
ConfigurationManagementRequest.Builder setVersion(int value)
Sets the value of the 'version' field. Version of the configuration for optimistic locking.
- Parameters:
value
- The value of 'version'.
-
hasSection
boolean hasSection()
Checks whether the 'section' field has been set. Section of the configuration to update.
-
clearSection
ConfigurationManagementRequest.Builder clearSection()
Clears the value of the 'section' field. Section of the configuration to update.
-
hasConfig
boolean hasConfig()
Checks whether the 'config' field has been set. Updated configuration in JSON or HOCON format.
-
clearConfig
ConfigurationManagementRequest.Builder clearConfig()
Clears the value of the 'config' field. Updated configuration in JSON or HOCON format.
-
hasSchemaVersion
boolean hasSchemaVersion()
Checks whether the 'schemaVersion' field has been set. Schema version of the updated configuration.
-
hasSchemaVersionBuilder
boolean hasSchemaVersionBuilder()
Checks whether the 'schemaVersion' field has an active Builder instance Schema version of the updated configuration.
-
clearSchemaVersion
ConfigurationManagementRequest.Builder clearSchemaVersion()
Clears the value of the 'schemaVersion' field. Schema version of the updated configuration.
-
hasUpdateActor
boolean hasUpdateActor()
Checks whether the 'updateActor' field has been set. ID of RPC user that requested the configuration update.
-
clearUpdateActor
ConfigurationManagementRequest.Builder clearUpdateActor()
Clears the value of the 'updateActor' field. ID of RPC user that requested the configuration update.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set. Version of the configuration for optimistic locking.
-
clearVersion
ConfigurationManagementRequest.Builder clearVersion()
Clears the value of the 'version' field. Version of the configuration for optimistic locking.
-
build
ConfigurationManagementRequest build()
-
-
-
-