Name | Type | Description | Notes |
---|---|---|---|
MaxStalenessSeconds | Pointer to int32 | Maximum replication lag, or staleness, for reads from secondaries. | [optional] |
Mode | Pointer to string | Read preference mode that specifies to which replica set member to route the read requests. | [optional] |
TagSets | Pointer to [][]ApiAtlasDataLakeAtlasStoreReadPreferenceTagView | List that contains tag sets or tag specification documents. If specified, Atlas Data Lake routes read requests to replica set member or members that are associated with the specified tags. | [optional] |
func NewApiAtlasDataLakeAtlasStoreReadPreferenceView() *ApiAtlasDataLakeAtlasStoreReadPreferenceView
NewApiAtlasDataLakeAtlasStoreReadPreferenceView instantiates a new ApiAtlasDataLakeAtlasStoreReadPreferenceView 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 NewApiAtlasDataLakeAtlasStoreReadPreferenceViewWithDefaults() *ApiAtlasDataLakeAtlasStoreReadPreferenceView
NewApiAtlasDataLakeAtlasStoreReadPreferenceViewWithDefaults instantiates a new ApiAtlasDataLakeAtlasStoreReadPreferenceView 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 *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetMaxStalenessSeconds() int32
GetMaxStalenessSeconds returns the MaxStalenessSeconds field if non-nil, zero value otherwise.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetMaxStalenessSecondsOk() (*int32, bool)
GetMaxStalenessSecondsOk returns a tuple with the MaxStalenessSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) SetMaxStalenessSeconds(v int32)
SetMaxStalenessSeconds sets MaxStalenessSeconds field to given value.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) HasMaxStalenessSeconds() bool
HasMaxStalenessSeconds returns a boolean if a field has been set.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) SetMode(v string)
SetMode sets Mode field to given value.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetTagSets() [][]ApiAtlasDataLakeAtlasStoreReadPreferenceTagView
GetTagSets returns the TagSets field if non-nil, zero value otherwise.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) GetTagSetsOk() (*[][]ApiAtlasDataLakeAtlasStoreReadPreferenceTagView, bool)
GetTagSetsOk returns a tuple with the TagSets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) SetTagSets(v [][]ApiAtlasDataLakeAtlasStoreReadPreferenceTagView)
SetTagSets sets TagSets field to given value.
func (o *ApiAtlasDataLakeAtlasStoreReadPreferenceView) HasTagSets() bool
HasTagSets returns a boolean if a field has been set.