@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRuleRequest |
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 |
getListenerArn()
The Amazon Resource Name (ARN) of the listener.
|
Integer |
getPriority()
The rule priority.
|
int |
hashCode() |
void |
setActions(Collection<Action> actions)
The actions.
|
void |
setConditions(Collection<RuleCondition> conditions)
The conditions.
|
void |
setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setPriority(Integer priority)
The rule priority.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRuleRequest |
withActions(Action... actions)
The actions.
|
CreateRuleRequest |
withActions(Collection<Action> actions)
The actions.
|
CreateRuleRequest |
withConditions(Collection<RuleCondition> conditions)
The conditions.
|
CreateRuleRequest |
withConditions(RuleCondition... conditions)
The conditions.
|
CreateRuleRequest |
withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
CreateRuleRequest |
withPriority(Integer priority)
The rule priority.
|
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, withSdkRequestTimeout
public void setListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.public String getListenerArn()
The Amazon Resource Name (ARN) of the listener.
public CreateRuleRequest withListenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.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. Note that 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. Note that 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. Note that 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.
Note that 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. Note that 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. Note that 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. Note that 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.
Note that 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 CreateRuleRequest 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. Note that 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. Note that 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. Note that 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.
Note that 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 CreateRuleRequest 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. Note that 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. Note that 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. Note that 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.
Note that 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 setPriority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority
- The rule priority. A listener can't have multiple rules with the same priority.public Integer getPriority()
The rule priority. A listener can't have multiple rules with the same priority.
public CreateRuleRequest withPriority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority
- The rule priority. A listener can't have multiple rules with the same priority.public List<Action> getActions()
The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users as they
access your application.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users
as they access your application.
public void setActions(Collection<Action> actions)
The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users as they
access your application.
actions
- The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users
as they access your application.
public CreateRuleRequest withActions(Action... actions)
The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users as they
access your application.
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. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users
as they access your application.
public CreateRuleRequest withActions(Collection<Action> actions)
The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID Connect
(OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users as they
access your application.
actions
- The actions. Each rule must include one forward action.
If the action type is forward
, you can specify a single target group.
If the action type is authenticate-oidc
, you can use an identity provider that is OpenID
Connect (OIDC) compliant to authenticate users as they access your application.
If the action type is authenticate-cognito
, you can use Amazon Cognito to authenticate users
as they access your application.
public String toString()
toString
in class Object
Object.toString()
public CreateRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.