@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
ModifyRuleRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ModifyRuleRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
List<Action> | 
getActions()
 The actions. 
 | 
List<RuleCondition> | 
getConditions()
 The conditions. 
 | 
String | 
getRuleArn()
 The Amazon Resource Name (ARN) of the rule. 
 | 
int | 
hashCode()  | 
void | 
setActions(Collection<Action> actions)
 The actions. 
 | 
void | 
setConditions(Collection<RuleCondition> conditions)
 The conditions. 
 | 
void | 
setRuleArn(String ruleArn)
 The Amazon Resource Name (ARN) of the rule. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ModifyRuleRequest | 
withActions(Action... actions)
 The actions. 
 | 
ModifyRuleRequest | 
withActions(Collection<Action> actions)
 The actions. 
 | 
ModifyRuleRequest | 
withConditions(Collection<RuleCondition> conditions)
 The conditions. 
 | 
ModifyRuleRequest | 
withConditions(RuleCondition... conditions)
 The conditions. 
 | 
ModifyRuleRequest | 
withRuleArn(String ruleArn)
 The Amazon Resource Name (ARN) of the rule. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn - The Amazon Resource Name (ARN) of the rule.public String getRuleArn()
The Amazon Resource Name (ARN) of the rule.
public ModifyRuleRequest withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn - The Amazon Resource Name (ARN) of the rule.public List<RuleCondition> getConditions()
The conditions. Each condition specifies a field name and a single value.
 If the field name is host-header, you can specify a single host name (for example, my.example.com).
 A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following
 characters. You can include up to three wildcard characters.
 
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
 If the field name is path-pattern, you can specify a single path pattern. A path pattern is
 case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can
 include up to three wildcard characters.
 
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
         If the field name is host-header, you can specify a single host name (for example,
         my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain
         any of the following characters. You can include up to three wildcard characters.
         
A-Z, a-z, 0-9
- .
(matches 0 or more characters)
? (matches exactly 1 character)
         If the field name is path-pattern, you can specify a single path pattern. A path pattern is
         case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
         You can include up to three wildcard characters.
         
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public void setConditions(Collection<RuleCondition> conditions)
The conditions. Each condition specifies a field name and a single value.
 If the field name is host-header, you can specify a single host name (for example, my.example.com).
 A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following
 characters. You can include up to three wildcard characters.
 
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
 If the field name is path-pattern, you can specify a single path pattern. A path pattern is
 case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can
 include up to three wildcard characters.
 
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
conditions - The conditions. Each condition specifies a field name and a single value.
        
        If the field name is host-header, you can specify a single host name (for example,
        my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain
        any of the following characters. You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
- .
(matches 0 or more characters)
? (matches exactly 1 character)
        If the field name is path-pattern, you can specify a single path pattern. A path pattern is
        case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
        You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public ModifyRuleRequest withConditions(RuleCondition... conditions)
The conditions. Each condition specifies a field name and a single value.
 If the field name is host-header, you can specify a single host name (for example, my.example.com).
 A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following
 characters. You can include up to three wildcard characters.
 
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
 If the field name is path-pattern, you can specify a single path pattern. A path pattern is
 case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can
 include up to three wildcard characters.
 
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
 NOTE: This method appends the values to the existing list (if any). Use
 setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
 override the existing values.
 
conditions - The conditions. Each condition specifies a field name and a single value.
        
        If the field name is host-header, you can specify a single host name (for example,
        my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain
        any of the following characters. You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
- .
(matches 0 or more characters)
? (matches exactly 1 character)
        If the field name is path-pattern, you can specify a single path pattern. A path pattern is
        case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
        You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public ModifyRuleRequest withConditions(Collection<RuleCondition> conditions)
The conditions. Each condition specifies a field name and a single value.
 If the field name is host-header, you can specify a single host name (for example, my.example.com).
 A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following
 characters. You can include up to three wildcard characters.
 
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
 If the field name is path-pattern, you can specify a single path pattern. A path pattern is
 case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. You can
 include up to three wildcard characters.
 
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
conditions - The conditions. Each condition specifies a field name and a single value.
        
        If the field name is host-header, you can specify a single host name (for example,
        my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain
        any of the following characters. You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
- .
(matches 0 or more characters)
? (matches exactly 1 character)
        If the field name is path-pattern, you can specify a single path pattern. A path pattern is
        case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
        You can include up to three wildcard characters.
        
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
(matches 0 or more characters)
? (matches exactly 1 character)
public List<Action> getActions()
The actions.
 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 or TLS 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.
 
         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 or
         TLS 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 void setActions(Collection<Action> actions)
The actions.
 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 or TLS 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.
 
actions - The actions.
        
        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 or
        TLS 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 withActions(Action... actions)
The actions.
 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 or TLS 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.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
 the existing values.
 
actions - The actions.
        
        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 or
        TLS 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 withActions(Collection<Action> actions)
The actions.
 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 or TLS 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.
 
actions - The actions.
        
        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 or
        TLS 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 String toString()
toString in class ObjectObject.toString()public ModifyRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.