@Generated(value="software.amazon.awssdk:codegen") public final class ModifyRuleRequest extends ElasticLoadBalancingV2Request implements ToCopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Action> |
actions()
The actions.
|
static ModifyRuleRequest.Builder |
builder() |
List<RuleCondition> |
conditions()
The conditions.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ruleArn()
The Amazon Resource Name (ARN) of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyRuleRequest.Builder> |
serializableBuilderClass() |
ModifyRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String ruleArn()
The Amazon Resource Name (ARN) of the rule.
public List<RuleCondition> conditions()
The conditions. Each rule can include zero or one of the following conditions: http-request-method,
host-header, path-pattern, and source-ip, and zero or more of the
following conditions: http-header and query-string.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.public List<Action> actions()
The actions. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
If the action type is forward, you specify a target group. The protocol of the target group must be
HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client requests
from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified client requests
and return a custom HTTP response.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
forward,
fixed-response, or redirect.
If the action type is forward, you specify a target group. The protocol of the target group
must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP,
TLS, UDP, or TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through
the user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response, you drop specified client
requests and return a custom HTTP response.
public ModifyRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>toBuilder in class ElasticLoadBalancingV2Requestpublic static ModifyRuleRequest.Builder builder()
public static Class<? extends ModifyRuleRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.