ClusterProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewClusterProperties() *ClusterProperties
NewClusterProperties instantiates a new ClusterProperties 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 NewClusterPropertiesWithDefaults() *ClusterProperties
NewClusterPropertiesWithDefaults instantiates a new ClusterProperties 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 *ClusterProperties) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *ClusterProperties) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (o *ClusterProperties) GetPostgresVersion() string
GetPostgresVersion returns the PostgresVersion field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetPostgresVersionOk() (*string, bool)
GetPostgresVersionOk returns a tuple with the PostgresVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetPostgresVersion(v string)
SetPostgresVersion sets PostgresVersion field to given value.
func (o *ClusterProperties) HasPostgresVersion() bool
HasPostgresVersion returns a boolean if a field has been set.
func (o *ClusterProperties) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *ClusterProperties) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *ClusterProperties) GetDnsName() string
GetDnsName returns the DnsName field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetDnsNameOk() (*string, bool)
GetDnsNameOk returns a tuple with the DnsName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetDnsName(v string)
SetDnsName sets DnsName field to given value.
func (o *ClusterProperties) HasDnsName() bool
HasDnsName returns a boolean if a field has been set.
func (o *ClusterProperties) GetBackupLocation() string
GetBackupLocation returns the BackupLocation field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetBackupLocationOk() (*string, bool)
GetBackupLocationOk returns a tuple with the BackupLocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetBackupLocation(v string)
SetBackupLocation sets BackupLocation field to given value.
func (o *ClusterProperties) HasBackupLocation() bool
HasBackupLocation returns a boolean if a field has been set.
func (o *ClusterProperties) GetInstances() int32
GetInstances returns the Instances field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetInstancesOk() (*int32, bool)
GetInstancesOk returns a tuple with the Instances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetInstances(v int32)
SetInstances sets Instances field to given value.
func (o *ClusterProperties) HasInstances() bool
HasInstances returns a boolean if a field has been set.
func (o *ClusterProperties) GetRam() int32
GetRam returns the Ram field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetRam(v int32)
SetRam sets Ram field to given value.
func (o *ClusterProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
func (o *ClusterProperties) GetCores() int32
GetCores returns the Cores field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetCores(v int32)
SetCores sets Cores field to given value.
func (o *ClusterProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
func (o *ClusterProperties) GetStorageSize() int32
GetStorageSize returns the StorageSize field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetStorageSize(v int32)
SetStorageSize sets StorageSize field to given value.
func (o *ClusterProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (o *ClusterProperties) GetStorageType() StorageType
GetStorageType returns the StorageType field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetStorageType(v StorageType)
SetStorageType sets StorageType field to given value.
func (o *ClusterProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (o *ClusterProperties) GetConnections() []Connection
GetConnections returns the Connections field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetConnectionsOk() (*[]Connection, bool)
GetConnectionsOk returns a tuple with the Connections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetConnections(v []Connection)
SetConnections sets Connections field to given value.
func (o *ClusterProperties) HasConnections() bool
HasConnections returns a boolean if a field has been set.
func (o *ClusterProperties) GetMaintenanceWindow() MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets MaintenanceWindow field to given value.
func (o *ClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (o *ClusterProperties) GetSynchronizationMode() SynchronizationMode
GetSynchronizationMode returns the SynchronizationMode field if non-nil, zero value otherwise.
func (o *ClusterProperties) GetSynchronizationModeOk() (*SynchronizationMode, bool)
GetSynchronizationModeOk returns a tuple with the SynchronizationMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterProperties) SetSynchronizationMode(v SynchronizationMode)
SetSynchronizationMode sets SynchronizationMode field to given value.
func (o *ClusterProperties) HasSynchronizationMode() bool
HasSynchronizationMode returns a boolean if a field has been set.
DisplayName
Pointer to string
The friendly name of your cluster.
[optional]
PostgresVersion
Pointer to string
The PostgreSQL version of your cluster.
[optional]
Location
Pointer to string
The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation.
[optional]
DnsName
Pointer to string
The DNS name pointing to your cluster.
[optional]
BackupLocation
Pointer to string
The S3 location where the backups will be stored.
[optional]
Instances
Pointer to int32
The total number of instances in the cluster (one master and n-1 standbys).
[optional]
Ram
Pointer to int32
The amount of memory per instance in megabytes. Has to be a multiple of 1024.
[optional]
Cores
Pointer to int32
The number of CPU cores per instance.
[optional]
StorageSize
Pointer to int32
The amount of storage per instance in megabytes.
[optional]
StorageType
Pointer to StorageType
[optional]
Connections
Pointer to []Connection
[optional]
MaintenanceWindow
Pointer to MaintenanceWindow
[optional]
SynchronizationMode
Pointer to SynchronizationMode
[optional]