@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 listener] Information for using Amazon Cognito to authenticate users.
|
AuthenticateOidcActionConfig |
getAuthenticateOidcConfig()
[HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
Integer |
getOrder()
The order for the 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 listener] Information for using Amazon Cognito to authenticate users.
|
void |
setAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
void |
setOrder(Integer order)
The order for the 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; useful for testing and debugging.
|
Action |
withAuthenticateCognitoConfig(AuthenticateCognitoActionConfig authenticateCognitoConfig)
[HTTPS listener] Information for using Amazon Cognito to authenticate users.
|
Action |
withAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
Action |
withOrder(Integer order)
The order for the 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 one forward action.
type
- The type of action. Each rule must include one forward action.ActionTypeEnum
public String getType()
The type of action. Each rule must include one forward action.
ActionTypeEnum
public Action withType(String type)
The type of action. Each rule must include one forward action.
type
- The type of action. Each rule must include one forward action.ActionTypeEnum
public void setType(ActionTypeEnum type)
The type of action. Each rule must include one forward action.
type
- The type of action. Each rule must include one forward action.ActionTypeEnum
public Action withType(ActionTypeEnum type)
The type of action. Each rule must include one forward action.
type
- The type of action. Each rule must include one forward action.ActionTypeEnum
public void setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group. Specify only when Type
is
forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
public String getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
Type
is
forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
public Action withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group. Specify only when Type
is forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group. Specify only when Type
is
forward
.
For a default rule, the protocol of the target group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
public void setAuthenticateOidcConfig(AuthenticateOidcActionConfig authenticateOidcConfig)
[HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify
only when Type
is authenticate-oidc
.
authenticateOidcConfig
- [HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC).
Specify only when Type
is authenticate-oidc
.public AuthenticateOidcActionConfig getAuthenticateOidcConfig()
[HTTPS listener] 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 listener] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify
only when Type
is authenticate-oidc
.
authenticateOidcConfig
- [HTTPS listener] 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 listener] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito
.
authenticateCognitoConfig
- [HTTPS listener] Information for using Amazon Cognito to authenticate users. Specify only when
Type
is authenticate-cognito
.public AuthenticateCognitoActionConfig getAuthenticateCognitoConfig()
[HTTPS listener] 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 listener] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito
.
authenticateCognitoConfig
- [HTTPS listener] 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 forward action must be performed last.
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 forward action must be performed last.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 forward action must be performed last.
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 forward action must be performed last.
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 forward action must be performed last.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.