Class ConfigurationManagementResponse.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class ConfigurationManagementResponse.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for ConfigurationManagementResponse instances.

    • Constructor Detail

    • Method Detail

      • getSuccess

         boolean getSuccess()

        Gets the value of the 'success' field. Whether the request was successful.

        Returns:

        The value.

      • getException

         ExceptionEnvelope getException()

        Gets the value of the 'exception' field. The cause of failure if the request was unsuccessful.

        Returns:

        The value.

      • getExceptionBuilder

         ExceptionEnvelope.Builder getExceptionBuilder()

        Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. The cause of failure if the request was unsuccessful.

        Returns:

        This builder.

      • getSection

         String getSection()

        Gets the value of the 'section' field. The configuration section for which an update was requested.

        Returns:

        The value.

      • getConfig

         String getConfig()

        Gets the value of the 'config' field. The current configuration in JSON format for the given section.

        Returns:

        The value.

      • getVersion

         int getVersion()

        Gets the value of the 'version' field. The current configuration's optimistic-locking version for the given section.

        Returns:

        The value.

      • setVersion

         ConfigurationManagementResponse.Builder setVersion(int value)

        Sets the value of the 'version' field. The current configuration's optimistic-locking version for the given section.

        Parameters:
        value - The value of 'version'.
        Returns:

        This builder.

      • hasSuccess

         boolean hasSuccess()

        Checks whether the 'success' field has been set. Whether the request was successful.

        Returns:

        True if the 'success' field has been set, false otherwise.

      • hasException

         boolean hasException()

        Checks whether the 'exception' field has been set. The cause of failure if the request was unsuccessful.

        Returns:

        True if the 'exception' field has been set, false otherwise.

      • hasExceptionBuilder

         boolean hasExceptionBuilder()

        Checks whether the 'exception' field has an active Builder instance The cause of failure if the request was unsuccessful.

        Returns:

        True if the 'exception' field has an active Builder instance

      • hasSection

         boolean hasSection()

        Checks whether the 'section' field has been set. The configuration section for which an update was requested.

        Returns:

        True if the 'section' field has been set, false otherwise.

      • hasConfig

         boolean hasConfig()

        Checks whether the 'config' field has been set. The current configuration in JSON format for the given section.

        Returns:

        True if the 'config' field has been set, false otherwise.

      • hasSchemaVersion

         boolean hasSchemaVersion()

        Checks whether the 'schemaVersion' field has been set. Schema version of the current configuration.

        Returns:

        True if the 'schemaVersion' field has been set, false otherwise.

      • hasSchemaVersionBuilder

         boolean hasSchemaVersionBuilder()

        Checks whether the 'schemaVersion' field has an active Builder instance Schema version of the current configuration.

        Returns:

        True if the 'schemaVersion' field has an active Builder instance

      • hasVersion

         boolean hasVersion()

        Checks whether the 'version' field has been set. The current configuration's optimistic-locking version for the given section.

        Returns:

        True if the 'version' field has been set, false otherwise.