Name | Type | Description | Notes |
---|---|---|---|
Name | string | Name must be 6-20 characters in length and can include numbers, lowercase letters, and dashes (but no leading or trailing dashes). | |
Provider | CloudProviderType | ||
Spec | CreateClusterSpecification |
func NewCreateClusterRequest(name string, provider CloudProviderType, spec CreateClusterSpecification, ) *CreateClusterRequest
NewCreateClusterRequest instantiates a new CreateClusterRequest 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 NewCreateClusterRequestWithDefaults() *CreateClusterRequest
NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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 *CreateClusterRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateClusterRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateClusterRequest) GetProvider() CloudProviderType
GetProvider returns the Provider field if non-nil, zero value otherwise.
func (o *CreateClusterRequest) SetProvider(v CloudProviderType)
SetProvider sets Provider field to given value.
func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification
GetSpec returns the Spec field if non-nil, zero value otherwise.
func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)
SetSpec sets Spec field to given value.