@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable
Information about an action.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(Object obj) |
AuthenticateCognitoActionConfig |
getAuthenticateCognitoConfig()
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
|
AuthenticateOidcActionConfig |
getAuthenticateOidcConfig()
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
FixedResponseActionConfig |
getFixedResponseConfig()
[Application Load Balancer] Information for creating an action that returns a custom HTTP response.
|
Integer |
getOrder()
The order for the action.
|
RedirectActionConfig |
getRedirectConfig()
[Application Load Balancer] Information for creating a redirect action.
|
String |
getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
String |
getType()
The type of action.
|
int |
hashCode() |
void |
setAuthenticateCognitoConfig(AuthenticateCognitoActionConfig authenticateCognitoConfig)
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
|
void |
setAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
void |
setFixedResponseConfig(FixedResponseActionConfig fixedResponseConfig)
[Application Load Balancer] Information for creating an action that returns a custom HTTP response.
|
void |
setOrder(Integer order)
The order for the action.
|
void |
setRedirectConfig(RedirectActionConfig redirectConfig)
[Application Load Balancer] Information for creating a redirect action.
|
void |
setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
void |
setType(ActionTypeEnum type)
The type of action.
|
void |
setType(String type)
The type of action.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withAuthenticateCognitoConfig(AuthenticateCognitoActionConfig authenticateCognitoConfig)
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
|
Action |
withAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
Action |
withFixedResponseConfig(FixedResponseActionConfig fixedResponseConfig)
[Application Load Balancer] Information for creating an action that returns a custom HTTP response.
|
Action |
withOrder(Integer order)
The order for the action.
|
Action |
withRedirectConfig(RedirectActionConfig redirectConfig)
[Application Load Balancer] Information for creating a redirect action.
|
Action |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
Action |
withType(ActionTypeEnum type)
The type of action.
|
Action |
withType(String type)
The type of action.
|
public void setType(String type)
The type of action. Each rule must include exactly one of the following types of actions: forward
,
fixed-response
, or redirect
.
type
- The type of action. Each rule must include exactly one of the following types of actions:
forward
, fixed-response
, or redirect
.ActionTypeEnum
public String getType()
The type of action. Each rule must include exactly one of the following types of actions: forward
,
fixed-response
, or redirect
.
forward
, fixed-response
, or redirect
.ActionTypeEnum
public Action withType(String type)
The type of action. Each rule must include exactly one of the following types of actions: forward
,
fixed-response
, or redirect
.
type
- The type of action. Each rule must include exactly one of the following types of actions:
forward
, fixed-response
, or redirect
.ActionTypeEnum
public void setType(ActionTypeEnum type)
The type of action. Each rule must include exactly one of the following types of actions: forward
,
fixed-response
, or redirect
.
type
- The type of action. Each rule must include exactly one of the following types of actions:
forward
, fixed-response
, or redirect
.ActionTypeEnum
public Action withType(ActionTypeEnum type)
The type of action. Each rule must include exactly one of the following types of actions: forward
,
fixed-response
, or redirect
.
type
- The type of action. Each rule must include exactly one of the following types of actions:
forward
, fixed-response
, or redirect
.ActionTypeEnum
public void setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group. Specify only when Type
is
forward
.public String getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
Type
is
forward
.public Action withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group. Specify only when Type
is
forward
.public void setAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify
only when Type
is authenticate-oidc
.
authenticateOidcConfig
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
Specify only when Type
is authenticate-oidc
.public AuthenticateOidcActionConfig getAuthenticateOidcConfig()
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify
only when Type
is authenticate-oidc
.
Type
is authenticate-oidc
.public Action withAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify
only when Type
is authenticate-oidc
.
authenticateOidcConfig
- [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
Specify only when Type
is authenticate-oidc
.public void setAuthenticateCognitoConfig(AuthenticateCognitoActionConfig authenticateCognitoConfig)
[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito
.
authenticateCognitoConfig
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when
Type
is authenticate-cognito
.public AuthenticateCognitoActionConfig getAuthenticateCognitoConfig()
[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito
.
Type
is authenticate-cognito
.public Action withAuthenticateCognitoConfig(AuthenticateCognitoActionConfig authenticateCognitoConfig)
[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito
.
authenticateCognitoConfig
- [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when
Type
is authenticate-cognito
.public void setOrder(Integer order)
The order for the action. This value is required for rules with multiple actions. The action with the lowest
value for order is performed first. The final action to be performed must be a forward
or a
fixed-response
action.
order
- The order for the action. This value is required for rules with multiple actions. The action with the
lowest value for order is performed first. The final action to be performed must be a forward
or a fixed-response
action.public Integer getOrder()
The order for the action. This value is required for rules with multiple actions. The action with the lowest
value for order is performed first. The final action to be performed must be a forward
or a
fixed-response
action.
forward
or a fixed-response
action.public Action withOrder(Integer order)
The order for the action. This value is required for rules with multiple actions. The action with the lowest
value for order is performed first. The final action to be performed must be a forward
or a
fixed-response
action.
order
- The order for the action. This value is required for rules with multiple actions. The action with the
lowest value for order is performed first. The final action to be performed must be a forward
or a fixed-response
action.public void setRedirectConfig(RedirectActionConfig redirectConfig)
[Application Load Balancer] Information for creating a redirect action. Specify only when Type
is
redirect
.
redirectConfig
- [Application Load Balancer] Information for creating a redirect action. Specify only when
Type
is redirect
.public RedirectActionConfig getRedirectConfig()
[Application Load Balancer] Information for creating a redirect action. Specify only when Type
is
redirect
.
Type
is redirect
.public Action withRedirectConfig(RedirectActionConfig redirectConfig)
[Application Load Balancer] Information for creating a redirect action. Specify only when Type
is
redirect
.
redirectConfig
- [Application Load Balancer] Information for creating a redirect action. Specify only when
Type
is redirect
.public void setFixedResponseConfig(FixedResponseActionConfig fixedResponseConfig)
[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only
when Type
is fixed-response
.
fixedResponseConfig
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response.
Specify only when Type
is fixed-response
.public FixedResponseActionConfig getFixedResponseConfig()
[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only
when Type
is fixed-response
.
Type
is fixed-response
.public Action withFixedResponseConfig(FixedResponseActionConfig fixedResponseConfig)
[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only
when Type
is fixed-response
.
fixedResponseConfig
- [Application Load Balancer] Information for creating an action that returns a custom HTTP response.
Specify only when Type
is fixed-response
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.