@Generated(value="software.amazon.awssdk:codegen") public final class CreateRuleResponse extends VpcLatticeResponse implements ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateRuleResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
action()
The rule action.
|
String |
arn()
The Amazon Resource Name (ARN) of the rule.
|
static CreateRuleResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the rule.
|
RuleMatch |
match()
The rule match.
|
String |
name()
The name of the rule.
|
Integer |
priority()
The priority assigned to the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRuleResponse.Builder> |
serializableBuilderClass() |
CreateRuleResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RuleAction action()
The rule action. Each rule must include exactly one of the following types of actions: forward or
fixed-response, and it must be the last action to be performed.
forward or fixed-response, and it must be the last action to be performed.public final String arn()
The Amazon Resource Name (ARN) of the rule.
public final String id()
The ID of the rule.
public final RuleMatch match()
The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be
an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
RuleMatch must be an HttpMatch. This means that the rule
should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.public final String name()
The name of the rule.
public final Integer priority()
The priority assigned to the rule. The lower the priority number the higher the priority.
public CreateRuleResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>toBuilder in class AwsResponsepublic static CreateRuleResponse.Builder builder()
public static Class<? extends CreateRuleResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.