Class CreateRuleResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
-
- software.amazon.awssdk.services.vpclattice.model.CreateRuleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateRuleResponse extends VpcLatticeResponse implements ToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateRuleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleActionaction()The rule action.Stringarn()The Amazon Resource Name (ARN) of the rule.static CreateRuleResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the rule.RuleMatchmatch()The rule match.Stringname()The name of the rule.Integerpriority()The priority assigned to the rule.List<SdkField<?>>sdkFields()static Class<? extends CreateRuleResponse.Builder>serializableBuilderClass()CreateRuleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final RuleAction action()
The rule action. Each rule must include exactly one of the following types of actions:
forwardorfixed-response, and it must be the last action to be performed.- Returns:
- The rule action. Each rule must include exactly one of the following types of actions:
forwardorfixed-response, and it must be the last action to be performed.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the rule.
- Returns:
- The Amazon Resource Name (ARN) of the rule.
-
id
public final String id()
The ID of the rule.
- Returns:
- The ID of the rule.
-
match
public final RuleMatch match()
The rule match. The
RuleMatchmust be anHttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.- Returns:
- The rule match. The
RuleMatchmust be anHttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
-
name
public final String name()
The name of the rule.
- Returns:
- The name of the rule.
-
priority
public final Integer priority()
The priority assigned to the rule. The lower the priority number the higher the priority.
- Returns:
- The priority assigned to the rule. The lower the priority number the higher the priority.
-
toBuilder
public CreateRuleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateRuleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateRuleResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-