@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
Information about an action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthenticateCognitoActionConfig |
authenticateCognitoConfig()
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
|
AuthenticateOidcActionConfig |
authenticateOidcConfig()
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).
|
static Action.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FixedResponseActionConfig |
fixedResponseConfig()
[Application Load Balancer] Information for creating an action that returns a custom HTTP response.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
order()
The order for the action.
|
RedirectActionConfig |
redirectConfig()
[Application Load Balancer] Information for creating a redirect action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ActionTypeEnum |
type()
The type of action.
|
String |
typeAsString()
The type of action.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ActionTypeEnum type()
The type of action. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
If the service returns an enum value that is not available in the current SDK version, type will return
ActionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
forward, fixed-response, or redirect.ActionTypeEnumpublic String typeAsString()
The type of action. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
If the service returns an enum value that is not available in the current SDK version, type will return
ActionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
forward, fixed-response, or redirect.ActionTypeEnumpublic String targetGroupArn()
The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward.
Type is
forward.public AuthenticateOidcActionConfig authenticateOidcConfig()
[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 AuthenticateCognitoActionConfig authenticateCognitoConfig()
[HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type
is authenticate-cognito.
Type is authenticate-cognito.public 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.
forward or a fixed-response action.public RedirectActionConfig redirectConfig()
[Application Load Balancer] Information for creating a redirect action. Specify only when Type is
redirect.
Type is redirect.public FixedResponseActionConfig fixedResponseConfig()
[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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.