@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResolverRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateResolverRuleRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateResolverRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
A name for the association that you're creating between a Resolver rule and a VPC.
|
String |
getResolverRuleId()
The ID of the Resolver rule that you want to associate with the VPC.
|
String |
getVPCId()
The ID of the VPC that you want to associate the Resolver rule with.
|
int |
hashCode() |
void |
setName(String name)
A name for the association that you're creating between a Resolver rule and a VPC.
|
void |
setResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you want to associate with the VPC.
|
void |
setVPCId(String vPCId)
The ID of the VPC that you want to associate the Resolver rule with.
|
String |
toString()
Returns a string representation of this object.
|
AssociateResolverRuleRequest |
withName(String name)
A name for the association that you're creating between a Resolver rule and a VPC.
|
AssociateResolverRuleRequest |
withResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you want to associate with the VPC.
|
AssociateResolverRuleRequest |
withVPCId(String vPCId)
The ID of the VPC that you want to associate the Resolver rule with.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
resolverRuleId
- The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules,
use ListResolverRules.public String getResolverRuleId()
The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
public AssociateResolverRuleRequest withResolverRuleId(String resolverRuleId)
The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
resolverRuleId
- The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules,
use ListResolverRules.public void setName(String name)
A name for the association that you're creating between a Resolver rule and a VPC.
name
- A name for the association that you're creating between a Resolver rule and a VPC.public String getName()
A name for the association that you're creating between a Resolver rule and a VPC.
public AssociateResolverRuleRequest withName(String name)
A name for the association that you're creating between a Resolver rule and a VPC.
name
- A name for the association that you're creating between a Resolver rule and a VPC.public void setVPCId(String vPCId)
The ID of the VPC that you want to associate the Resolver rule with.
vPCId
- The ID of the VPC that you want to associate the Resolver rule with.public String getVPCId()
The ID of the VPC that you want to associate the Resolver rule with.
public AssociateResolverRuleRequest withVPCId(String vPCId)
The ID of the VPC that you want to associate the Resolver rule with.
vPCId
- The ID of the VPC that you want to associate the Resolver rule with.public String toString()
toString
in class Object
Object.toString()
public AssociateResolverRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()