@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayPolicyRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayPolicyRule.Builder,TransitGatewayPolicyRule>
Describes a rule associated with a transit gateway policy.
Modifier and Type | Class and Description |
---|---|
static interface |
TransitGatewayPolicyRule.Builder |
Modifier and Type | Method and Description |
---|---|
static TransitGatewayPolicyRule.Builder |
builder() |
String |
destinationCidrBlock()
The destination CIDR block for the transit gateway policy rule.
|
String |
destinationPortRange()
The port range for the transit gateway policy rule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TransitGatewayPolicyRuleMetaData |
metaData()
The meta data tags used for the transit gateway policy rule.
|
String |
protocol()
The protocol used by the transit gateway policy rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayPolicyRule.Builder> |
serializableBuilderClass() |
String |
sourceCidrBlock()
The source CIDR block for the transit gateway policy rule.
|
String |
sourcePortRange()
The port range for the transit gateway policy rule.
|
TransitGatewayPolicyRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String sourceCidrBlock()
The source CIDR block for the transit gateway policy rule.
public final String sourcePortRange()
The port range for the transit gateway policy rule. Currently this is set to * (all).
public final String destinationCidrBlock()
The destination CIDR block for the transit gateway policy rule.
public final String destinationPortRange()
The port range for the transit gateway policy rule. Currently this is set to * (all).
public final String protocol()
The protocol used by the transit gateway policy rule.
public final TransitGatewayPolicyRuleMetaData metaData()
The meta data tags used for the transit gateway policy rule.
public TransitGatewayPolicyRule.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TransitGatewayPolicyRule.Builder,TransitGatewayPolicyRule>
public static TransitGatewayPolicyRule.Builder builder()
public static Class<? extends TransitGatewayPolicyRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.