Class CreateConditionalForwarderRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.CreateConditionalForwarderRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateConditionalForwarderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateConditionalForwarderRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateConditionalForwarderRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDirectoryId()The directory ID of the AWS directory for which you are creating the conditional forwarder.List<String>getDnsIpAddrs()The IP addresses of the remote DNS server associated with RemoteDomainName.StringgetRemoteDomainName()The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.inthashCode()voidsetDirectoryId(String directoryId)The directory ID of the AWS directory for which you are creating the conditional forwarder.voidsetDnsIpAddrs(Collection<String> dnsIpAddrs)The IP addresses of the remote DNS server associated with RemoteDomainName.voidsetRemoteDomainName(String remoteDomainName)The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateConditionalForwarderRequestwithDirectoryId(String directoryId)The directory ID of the AWS directory for which you are creating the conditional forwarder.CreateConditionalForwarderRequestwithDnsIpAddrs(String... dnsIpAddrs)The IP addresses of the remote DNS server associated with RemoteDomainName.CreateConditionalForwarderRequestwithDnsIpAddrs(Collection<String> dnsIpAddrs)The IP addresses of the remote DNS server associated with RemoteDomainName.CreateConditionalForwarderRequestwithRemoteDomainName(String remoteDomainName)The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDirectoryId
public void setDirectoryId(String directoryId)
The directory ID of the AWS directory for which you are creating the conditional forwarder.
- Parameters:
directoryId- The directory ID of the AWS directory for which you are creating the conditional forwarder.
-
getDirectoryId
public String getDirectoryId()
The directory ID of the AWS directory for which you are creating the conditional forwarder.
- Returns:
- The directory ID of the AWS directory for which you are creating the conditional forwarder.
-
withDirectoryId
public CreateConditionalForwarderRequest withDirectoryId(String directoryId)
The directory ID of the AWS directory for which you are creating the conditional forwarder.
- Parameters:
directoryId- The directory ID of the AWS directory for which you are creating the conditional forwarder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRemoteDomainName
public void setRemoteDomainName(String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
- Parameters:
remoteDomainName- The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
-
getRemoteDomainName
public String getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
- Returns:
- The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
-
withRemoteDomainName
public CreateConditionalForwarderRequest withRemoteDomainName(String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
- Parameters:
remoteDomainName- The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDnsIpAddrs
public List<String> getDnsIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
- Returns:
- The IP addresses of the remote DNS server associated with RemoteDomainName.
-
setDnsIpAddrs
public void setDnsIpAddrs(Collection<String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
- Parameters:
dnsIpAddrs- The IP addresses of the remote DNS server associated with RemoteDomainName.
-
withDnsIpAddrs
public CreateConditionalForwarderRequest withDnsIpAddrs(String... dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
NOTE: This method appends the values to the existing list (if any). Use
setDnsIpAddrs(java.util.Collection)orwithDnsIpAddrs(java.util.Collection)if you want to override the existing values.- Parameters:
dnsIpAddrs- The IP addresses of the remote DNS server associated with RemoteDomainName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDnsIpAddrs
public CreateConditionalForwarderRequest withDnsIpAddrs(Collection<String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
- Parameters:
dnsIpAddrs- The IP addresses of the remote DNS server associated with RemoteDomainName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateConditionalForwarderRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-