Class TargetAddress
- java.lang.Object
-
- software.amazon.awssdk.services.route53resolver.model.TargetAddress
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetAddress.Builder,TargetAddress>
@Generated("software.amazon.awssdk:codegen") public final class TargetAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetAddress.Builder,TargetAddress>
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetAddress.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringip()One IPv4 address that you want to forward DNS queries to.Stringipv6()One IPv6 address that you want to forward DNS queries to.Integerport()The port atIpthat you want to forward DNS queries to.Protocolprotocol()The protocols for the Resolver endpoints.StringprotocolAsString()The protocols for the Resolver endpoints.List<SdkField<?>>sdkFields()static Class<? extends TargetAddress.Builder>serializableBuilderClass()TargetAddress.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
ip
public final String ip()
One IPv4 address that you want to forward DNS queries to.
- Returns:
- One IPv4 address that you want to forward DNS queries to.
-
port
public final Integer port()
The port at
Ipthat you want to forward DNS queries to.- Returns:
- The port at
Ipthat you want to forward DNS queries to.
-
ipv6
public final String ipv6()
One IPv6 address that you want to forward DNS queries to.
- Returns:
- One IPv6 address that you want to forward DNS queries to.
-
protocol
public final Protocol protocol()
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- See Also:
Protocol
-
-
protocolAsString
public final String protocolAsString()
The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- See Also:
Protocol
-
-
toBuilder
public TargetAddress.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetAddress.Builder,TargetAddress>
-
builder
public static TargetAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetAddress.Builder> serializableBuilderClass()
-
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.
-
-