1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
|
# ApplicationLoadBalancerHttpRule
## Properties
|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Name** | **string** | The unique name of the Application Load Balancer HTTP rule. | |
|**Type** | **string** | The HTTP rule type. | |
|**TargetGroup** | Pointer to **string** | The ID of the target group; this parameter is mandatory and is valid only for 'FORWARD' 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] |
|**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] |
|**ResponseMessage** | Pointer to **string** | The response message of the request; this parameter is mandatory for 'STATIC' actions. | [optional] |
|**ContentType** | Pointer to **string** | Specifies the content type and is valid only for 'STATIC' actions. | [optional] |
|**Conditions** | Pointer to [**[]ApplicationLoadBalancerHttpRuleCondition**](ApplicationLoadBalancerHttpRuleCondition.md) | 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] |
## Methods
### NewApplicationLoadBalancerHttpRule
`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
### NewApplicationLoadBalancerHttpRuleWithDefaults
`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
### GetName
`func (o *ApplicationLoadBalancerHttpRule) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`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.
### SetName
`func (o *ApplicationLoadBalancerHttpRule) SetName(v string)`
SetName sets Name field to given value.
### GetType
`func (o *ApplicationLoadBalancerHttpRule) GetType() string`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`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.
### SetType
`func (o *ApplicationLoadBalancerHttpRule) SetType(v string)`
SetType sets Type field to given value.
### GetTargetGroup
`func (o *ApplicationLoadBalancerHttpRule) GetTargetGroup() string`
GetTargetGroup returns the TargetGroup field if non-nil, zero value otherwise.
### GetTargetGroupOk
`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.
### SetTargetGroup
`func (o *ApplicationLoadBalancerHttpRule) SetTargetGroup(v string)`
SetTargetGroup sets TargetGroup field to given value.
### HasTargetGroup
`func (o *ApplicationLoadBalancerHttpRule) HasTargetGroup() bool`
HasTargetGroup returns a boolean if a field has been set.
### GetDropQuery
`func (o *ApplicationLoadBalancerHttpRule) GetDropQuery() bool`
GetDropQuery returns the DropQuery field if non-nil, zero value otherwise.
### GetDropQueryOk
`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.
### SetDropQuery
`func (o *ApplicationLoadBalancerHttpRule) SetDropQuery(v bool)`
SetDropQuery sets DropQuery field to given value.
### HasDropQuery
`func (o *ApplicationLoadBalancerHttpRule) HasDropQuery() bool`
HasDropQuery returns a boolean if a field has been set.
### GetLocation
`func (o *ApplicationLoadBalancerHttpRule) GetLocation() string`
GetLocation returns the Location field if non-nil, zero value otherwise.
### GetLocationOk
`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.
### SetLocation
`func (o *ApplicationLoadBalancerHttpRule) SetLocation(v string)`
SetLocation sets Location field to given value.
### HasLocation
`func (o *ApplicationLoadBalancerHttpRule) HasLocation() bool`
HasLocation returns a boolean if a field has been set.
### GetStatusCode
`func (o *ApplicationLoadBalancerHttpRule) GetStatusCode() int32`
GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.
### GetStatusCodeOk
`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.
### SetStatusCode
`func (o *ApplicationLoadBalancerHttpRule) SetStatusCode(v int32)`
SetStatusCode sets StatusCode field to given value.
### HasStatusCode
`func (o *ApplicationLoadBalancerHttpRule) HasStatusCode() bool`
HasStatusCode returns a boolean if a field has been set.
### GetResponseMessage
`func (o *ApplicationLoadBalancerHttpRule) GetResponseMessage() string`
GetResponseMessage returns the ResponseMessage field if non-nil, zero value otherwise.
### GetResponseMessageOk
`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.
### SetResponseMessage
`func (o *ApplicationLoadBalancerHttpRule) SetResponseMessage(v string)`
SetResponseMessage sets ResponseMessage field to given value.
### HasResponseMessage
`func (o *ApplicationLoadBalancerHttpRule) HasResponseMessage() bool`
HasResponseMessage returns a boolean if a field has been set.
### GetContentType
`func (o *ApplicationLoadBalancerHttpRule) GetContentType() string`
GetContentType returns the ContentType field if non-nil, zero value otherwise.
### GetContentTypeOk
`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.
### SetContentType
`func (o *ApplicationLoadBalancerHttpRule) SetContentType(v string)`
SetContentType sets ContentType field to given value.
### HasContentType
`func (o *ApplicationLoadBalancerHttpRule) HasContentType() bool`
HasContentType returns a boolean if a field has been set.
### GetConditions
`func (o *ApplicationLoadBalancerHttpRule) GetConditions() []ApplicationLoadBalancerHttpRuleCondition`
GetConditions returns the Conditions field if non-nil, zero value otherwise.
### GetConditionsOk
`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.
### SetConditions
`func (o *ApplicationLoadBalancerHttpRule) SetConditions(v []ApplicationLoadBalancerHttpRuleCondition)`
SetConditions sets Conditions field to given value.
### HasConditions
`func (o *ApplicationLoadBalancerHttpRule) HasConditions() bool`
HasConditions returns a boolean if a field has been set.
|