Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name of the target group | |
Protocol | Protocol | ||
Port | int32 | The port of the target group | |
Region | RegionName | ||
HealthCheck | Pointer to HealthCheckOpts | [optional] |
func NewCreateTargetGroupOpts(name string, protocol Protocol, port int32, region RegionName, ) *CreateTargetGroupOpts
NewCreateTargetGroupOpts instantiates a new CreateTargetGroupOpts 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 NewCreateTargetGroupOptsWithDefaults() *CreateTargetGroupOpts
NewCreateTargetGroupOptsWithDefaults instantiates a new CreateTargetGroupOpts 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 *CreateTargetGroupOpts) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateTargetGroupOpts) 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 *CreateTargetGroupOpts) SetName(v string)
SetName sets Name field to given value.
func (o *CreateTargetGroupOpts) GetProtocol() Protocol
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *CreateTargetGroupOpts) GetProtocolOk() (*Protocol, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTargetGroupOpts) SetProtocol(v Protocol)
SetProtocol sets Protocol field to given value.
func (o *CreateTargetGroupOpts) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *CreateTargetGroupOpts) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTargetGroupOpts) SetPort(v int32)
SetPort sets Port field to given value.
func (o *CreateTargetGroupOpts) GetRegion() RegionName
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *CreateTargetGroupOpts) GetRegionOk() (*RegionName, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTargetGroupOpts) SetRegion(v RegionName)
SetRegion sets Region field to given value.
func (o *CreateTargetGroupOpts) GetHealthCheck() HealthCheckOpts
GetHealthCheck returns the HealthCheck field if non-nil, zero value otherwise.
func (o *CreateTargetGroupOpts) GetHealthCheckOk() (*HealthCheckOpts, bool)
GetHealthCheckOk returns a tuple with the HealthCheck field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTargetGroupOpts) SetHealthCheck(v HealthCheckOpts)
SetHealthCheck sets HealthCheck field to given value.
func (o *CreateTargetGroupOpts) HasHealthCheck() bool
HasHealthCheck returns a boolean if a field has been set.