Class ResolverRuleAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.route53resolver.model.ResolverRuleAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResolverRuleAssociation.Builder,ResolverRuleAssociation>
@Generated("software.amazon.awssdk:codegen") public final class ResolverRuleAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResolverRuleAssociation.Builder,ResolverRuleAssociation>
In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, provides information about an association between a Resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResolverRuleAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolverRuleAssociation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the association between a Resolver rule and a VPC.Stringname()The name of an association between a Resolver rule and a VPC.StringresolverRuleId()The ID of the Resolver rule that you associated with the VPC that is specified byVPCId.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResolverRuleAssociation.Builder>serializableBuilderClass()ResolverRuleAssociationStatusstatus()A code that specifies the current status of the association between a Resolver rule and a VPC.StringstatusAsString()A code that specifies the current status of the association between a Resolver rule and a VPC.StringstatusMessage()A detailed description of the status of the association between a Resolver rule and a VPC.ResolverRuleAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcId()The ID of the VPC that you associated the Resolver rule with.-
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
-
id
public final String id()
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
- Returns:
- The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
-
resolverRuleId
public final String resolverRuleId()
The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId.- Returns:
- The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId.
-
name
public final String name()
The name of an association between a Resolver rule and a VPC.
- Returns:
- The name of an association between a Resolver rule and a VPC.
-
vpcId
public final String vpcId()
The ID of the VPC that you associated the Resolver rule with.
- Returns:
- The ID of the VPC that you associated the Resolver rule with.
-
status
public final ResolverRuleAssociationStatus status()
A code that specifies the current status of the association between a Resolver rule and a VPC.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResolverRuleAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A code that specifies the current status of the association between a Resolver rule and a VPC.
- See Also:
ResolverRuleAssociationStatus
-
statusAsString
public final String statusAsString()
A code that specifies the current status of the association between a Resolver rule and a VPC.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResolverRuleAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A code that specifies the current status of the association between a Resolver rule and a VPC.
- See Also:
ResolverRuleAssociationStatus
-
statusMessage
public final String statusMessage()
A detailed description of the status of the association between a Resolver rule and a VPC.
- Returns:
- A detailed description of the status of the association between a Resolver rule and a VPC.
-
toBuilder
public ResolverRuleAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResolverRuleAssociation.Builder,ResolverRuleAssociation>
-
builder
public static ResolverRuleAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResolverRuleAssociation.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-