Name | Type | Description | Notes |
---|---|---|---|
IsEnabled | Pointer to bool | Whether or not the processor is enabled. | [optional] [default to false] |
IsReplaceMissing | Pointer to bool | If true, it replaces all missing attributes of `template` by an empty string. If `false` (default), skips the operation for missing attributes. | [optional] [default to false] |
Name | Pointer to string | Name of the processor. | [optional] |
Target | string | The name of the attribute that contains the result of the template. | |
Template | string | A formula with one or more attributes and raw text. | |
Type | LogsStringBuilderProcessorType | [default to LOGSSTRINGBUILDERPROCESSORTYPE_STRING_BUILDER_PROCESSOR] |
func NewLogsStringBuilderProcessor(target string, template string, type_ LogsStringBuilderProcessorType) *LogsStringBuilderProcessor
NewLogsStringBuilderProcessor instantiates a new LogsStringBuilderProcessor object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsStringBuilderProcessorWithDefaults() *LogsStringBuilderProcessor
NewLogsStringBuilderProcessorWithDefaults instantiates a new LogsStringBuilderProcessor object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (o *LogsStringBuilderProcessor) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetIsEnabled(v bool)
SetIsEnabled sets IsEnabled field to given value.
func (o *LogsStringBuilderProcessor) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (o *LogsStringBuilderProcessor) GetIsReplaceMissing() bool
GetIsReplaceMissing returns the IsReplaceMissing field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetIsReplaceMissingOk() (*bool, bool)
GetIsReplaceMissingOk returns a tuple with the IsReplaceMissing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetIsReplaceMissing(v bool)
SetIsReplaceMissing sets IsReplaceMissing field to given value.
func (o *LogsStringBuilderProcessor) HasIsReplaceMissing() bool
HasIsReplaceMissing returns a boolean if a field has been set.
func (o *LogsStringBuilderProcessor) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetName(v string)
SetName sets Name field to given value.
func (o *LogsStringBuilderProcessor) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LogsStringBuilderProcessor) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *LogsStringBuilderProcessor) GetTemplate() string
GetTemplate returns the Template field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetTemplate(v string)
SetTemplate sets Template field to given value.
func (o *LogsStringBuilderProcessor) GetType() LogsStringBuilderProcessorType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LogsStringBuilderProcessor) GetTypeOk() (*LogsStringBuilderProcessorType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsStringBuilderProcessor) SetType(v LogsStringBuilderProcessorType)
SetType sets Type field to given value.