Name | Type | Description | Notes |
---|---|---|---|
func NewApplicationLoadBalancerHttpRule(name string, type_ string, ) *ApplicationLoadBalancerHttpRule
NewApplicationLoadBalancerHttpRule instantiates a new ApplicationLoadBalancerHttpRule 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 NewApplicationLoadBalancerHttpRuleWithDefaults() *ApplicationLoadBalancerHttpRule
NewApplicationLoadBalancerHttpRuleWithDefaults instantiates a new ApplicationLoadBalancerHttpRule 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 *ApplicationLoadBalancerHttpRule) GetConditions() []ApplicationLoadBalancerHttpRuleCondition
GetConditions returns the Conditions field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetConditionsOk() (*[]ApplicationLoadBalancerHttpRuleCondition, bool)
GetConditionsOk returns a tuple with the Conditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetConditions(v []ApplicationLoadBalancerHttpRuleCondition)
SetConditions sets Conditions field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetContentType() string
GetContentType returns the ContentType field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetContentType(v string)
SetContentType sets ContentType field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetDropQuery() bool
GetDropQuery returns the DropQuery field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetDropQueryOk() (*bool, bool)
GetDropQueryOk returns a tuple with the DropQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetDropQuery(v bool)
SetDropQuery sets DropQuery field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasDropQuery() bool
HasDropQuery returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) 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 *ApplicationLoadBalancerHttpRule) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) 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 *ApplicationLoadBalancerHttpRule) SetName(v string)
SetName sets Name field to given value.
func (o *ApplicationLoadBalancerHttpRule) GetResponseMessage() string
GetResponseMessage returns the ResponseMessage field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetResponseMessageOk() (*string, bool)
GetResponseMessageOk returns a tuple with the ResponseMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetResponseMessage(v string)
SetResponseMessage sets ResponseMessage field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasResponseMessage() bool
HasResponseMessage returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetStatusCode() int32
GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetStatusCode(v int32)
SetStatusCode sets StatusCode field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetTargetGroup() string
GetTargetGroup returns the TargetGroup field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetTargetGroupOk() (*string, bool)
GetTargetGroupOk returns a tuple with the TargetGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetTargetGroup(v string)
SetTargetGroup sets TargetGroup field to given value.
func (o *ApplicationLoadBalancerHttpRule) HasTargetGroup() bool
HasTargetGroup returns a boolean if a field has been set.
func (o *ApplicationLoadBalancerHttpRule) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ApplicationLoadBalancerHttpRule) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationLoadBalancerHttpRule) SetType(v string)
SetType sets Type field to given value.
Conditions
Pointer to []ApplicationLoadBalancerHttpRuleCondition
An array of items in the collection. The action will be executed only if each condition is met; the rule will always be applied if no conditions are set.
[optional]
ContentType
Pointer to string
Specifies the content type and is valid only for 'STATIC' actions.
[optional]
DropQuery
Pointer to bool
Indicates whether the query part of the URI should be dropped and is valid only for 'REDIRECT' actions. Default value is 'FALSE', the redirect URI does not contain any query parameters.
[optional]
Location
Pointer to string
The location for the redirection; this parameter is mandatory and valid only for 'REDIRECT' actions.
[optional]
Name
string
The unique name of the Application Load Balancer HTTP rule.
ResponseMessage
Pointer to string
The response message of the request; this parameter is mandatory for 'STATIC' actions.
[optional]
StatusCode
Pointer to int32
The status code is for 'REDIRECT' and 'STATIC' actions only. If the HTTP rule is 'REDIRECT' the valid values are: 301, 302, 303, 307, 308; default value is '301'. If the HTTP rule is 'STATIC' the valid values are from the range 200-599; default value is '503'.
[optional]
TargetGroup
Pointer to string
The ID of the target group; this parameter is mandatory and is valid only for 'FORWARD' actions.
[optional]
Type
string
The HTTP rule type.