@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResolverRuleAssociation extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ResolverRuleAssociation() |
Modifier and Type | Method and Description |
---|---|
ResolverRuleAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the association between a Resolver rule and a VPC.
|
String |
getName()
The name of an association between a Resolver rule and a VPC.
|
String |
getResolverRuleId()
The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId . |
String |
getStatus()
A code that specifies the current status of the association between a Resolver rule and a VPC.
|
String |
getStatusMessage()
A detailed description of the status of the association between a Resolver rule and a VPC.
|
String |
getVPCId()
The ID of the VPC that you associated the Resolver rule with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the association between a Resolver rule and a VPC.
|
void |
setName(String name)
The name of an association between a Resolver rule and a VPC.
|
void |
setResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId . |
void |
setStatus(String status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
|
void |
setStatusMessage(String statusMessage)
A detailed description of the status of the association between a Resolver rule and a VPC.
|
void |
setVPCId(String vPCId)
The ID of the VPC that you associated the Resolver rule with.
|
String |
toString()
Returns a string representation of this object.
|
ResolverRuleAssociation |
withId(String id)
The ID of the association between a Resolver rule and a VPC.
|
ResolverRuleAssociation |
withName(String name)
The name of an association between a Resolver rule and a VPC.
|
ResolverRuleAssociation |
withResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId . |
ResolverRuleAssociation |
withStatus(ResolverRuleAssociationStatus status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
|
ResolverRuleAssociation |
withStatus(String status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
|
ResolverRuleAssociation |
withStatusMessage(String statusMessage)
A detailed description of the status of the association between a Resolver rule and a VPC.
|
ResolverRuleAssociation |
withVPCId(String vPCId)
The ID of the VPC that you associated the Resolver rule with.
|
public void setId(String id)
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
id
- The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit
an AssociateResolverRule request.public String getId()
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
public ResolverRuleAssociation withId(String id)
The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
id
- The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit
an AssociateResolverRule request.public void setResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
resolverRuleId
- The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.public String getResolverRuleId()
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
VPCId
.public ResolverRuleAssociation withResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.
resolverRuleId
- The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
.public void setName(String name)
The name of an association between a Resolver rule and a VPC.
name
- The name of an association between a Resolver rule and a VPC.public String getName()
The name of an association between a Resolver rule and a VPC.
public ResolverRuleAssociation withName(String name)
The name of an association between a Resolver rule and a VPC.
name
- The name of an association between a Resolver rule and a VPC.public void setVPCId(String vPCId)
The ID of the VPC that you associated the Resolver rule with.
vPCId
- The ID of the VPC that you associated the Resolver rule with.public String getVPCId()
The ID of the VPC that you associated the Resolver rule with.
public ResolverRuleAssociation withVPCId(String vPCId)
The ID of the VPC that you associated the Resolver rule with.
vPCId
- The ID of the VPC that you associated the Resolver rule with.public void setStatus(String status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
status
- A code that specifies the current status of the association between a Resolver rule and a VPC.ResolverRuleAssociationStatus
public String getStatus()
A code that specifies the current status of the association between a Resolver rule and a VPC.
ResolverRuleAssociationStatus
public ResolverRuleAssociation withStatus(String status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
status
- A code that specifies the current status of the association between a Resolver rule and a VPC.ResolverRuleAssociationStatus
public ResolverRuleAssociation withStatus(ResolverRuleAssociationStatus status)
A code that specifies the current status of the association between a Resolver rule and a VPC.
status
- A code that specifies the current status of the association between a Resolver rule and a VPC.ResolverRuleAssociationStatus
public void setStatusMessage(String statusMessage)
A detailed description of the status of the association between a Resolver rule and a VPC.
statusMessage
- A detailed description of the status of the association between a Resolver rule and a VPC.public String getStatusMessage()
A detailed description of the status of the association between a Resolver rule and a VPC.
public ResolverRuleAssociation withStatusMessage(String statusMessage)
A detailed description of the status of the association between a Resolver rule and a VPC.
statusMessage
- A detailed description of the status of the association between a Resolver rule and a VPC.public String toString()
toString
in class Object
Object.toString()
public ResolverRuleAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.