Name | Type | Description | Notes |
---|---|---|---|
Name | string | Name of the transformation rule. | |
Selector | string | Selector of the transformation rule. | |
DimensionTransformations | Pointer to []DimensionTransformation | Dimension transformations of the transformation rule. | [optional] [default to []] |
TransformedMetricsRetention | Pointer to int64 | Retention period in days for the transformed metrics that are generated by this rule. The supported retention periods for transformed metrics are 8 days, and 400 days. If no dimension transformations are defined, this value will be set to 0. | [optional] [default to 0] |
Retention | int64 | Retention period in days for the metrics that are selected by the selector. The supported retention periods for selected metrics are 8 days, 400 days, and 0 (Do not store) if this rule contains dimension transformation. | [default to 400] |
func NewTransformationRuleDefinition(name string, selector string, retention int64, ) *TransformationRuleDefinition
NewTransformationRuleDefinition instantiates a new TransformationRuleDefinition 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 NewTransformationRuleDefinitionWithDefaults() *TransformationRuleDefinition
NewTransformationRuleDefinitionWithDefaults instantiates a new TransformationRuleDefinition 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 *TransformationRuleDefinition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TransformationRuleDefinition) 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 *TransformationRuleDefinition) SetName(v string)
SetName sets Name field to given value.
func (o *TransformationRuleDefinition) GetSelector() string
GetSelector returns the Selector field if non-nil, zero value otherwise.
func (o *TransformationRuleDefinition) GetSelectorOk() (*string, bool)
GetSelectorOk returns a tuple with the Selector field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransformationRuleDefinition) SetSelector(v string)
SetSelector sets Selector field to given value.
func (o *TransformationRuleDefinition) GetDimensionTransformations() []DimensionTransformation
GetDimensionTransformations returns the DimensionTransformations field if non-nil, zero value otherwise.
func (o *TransformationRuleDefinition) GetDimensionTransformationsOk() (*[]DimensionTransformation, bool)
GetDimensionTransformationsOk returns a tuple with the DimensionTransformations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransformationRuleDefinition) SetDimensionTransformations(v []DimensionTransformation)
SetDimensionTransformations sets DimensionTransformations field to given value.
func (o *TransformationRuleDefinition) HasDimensionTransformations() bool
HasDimensionTransformations returns a boolean if a field has been set.
func (o *TransformationRuleDefinition) GetTransformedMetricsRetention() int64
GetTransformedMetricsRetention returns the TransformedMetricsRetention field if non-nil, zero value otherwise.
func (o *TransformationRuleDefinition) GetTransformedMetricsRetentionOk() (*int64, bool)
GetTransformedMetricsRetentionOk returns a tuple with the TransformedMetricsRetention field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransformationRuleDefinition) SetTransformedMetricsRetention(v int64)
SetTransformedMetricsRetention sets TransformedMetricsRetention field to given value.
func (o *TransformationRuleDefinition) HasTransformedMetricsRetention() bool
HasTransformedMetricsRetention returns a boolean if a field has been set.
func (o *TransformationRuleDefinition) GetRetention() int64
GetRetention returns the Retention field if non-nil, zero value otherwise.
func (o *TransformationRuleDefinition) GetRetentionOk() (*int64, bool)
GetRetentionOk returns a tuple with the Retention field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransformationRuleDefinition) SetRetention(v int64)
SetRetention sets Retention field to given value.