public class CreateConditionalForwarderRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryId
The directory ID of the AWS directory for which you are creating the
conditional forwarder.
|
private SdkInternalList<java.lang.String> |
dnsIpAddrs
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
private java.lang.String |
remoteDomainName
The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
|
NOOP
Constructor and Description |
---|
CreateConditionalForwarderRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConditionalForwarderRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDirectoryId()
The directory ID of the AWS directory for which you are creating the
conditional forwarder.
|
java.util.List<java.lang.String> |
getDnsIpAddrs()
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
java.lang.String |
getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
|
int |
hashCode() |
void |
setDirectoryId(java.lang.String directoryId)
The directory ID of the AWS directory for which you are creating the
conditional forwarder.
|
void |
setDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
void |
setRemoteDomainName(java.lang.String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateConditionalForwarderRequest |
withDirectoryId(java.lang.String directoryId)
The directory ID of the AWS directory for which you are creating the
conditional forwarder.
|
CreateConditionalForwarderRequest |
withDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
CreateConditionalForwarderRequest |
withDnsIpAddrs(java.lang.String... dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
CreateConditionalForwarderRequest |
withRemoteDomainName(java.lang.String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
|
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
private java.lang.String directoryId
The directory ID of the AWS directory for which you are creating the conditional forwarder.
private java.lang.String remoteDomainName
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
private SdkInternalList<java.lang.String> dnsIpAddrs
The IP addresses of the remote DNS server associated with RemoteDomainName.
public void setDirectoryId(java.lang.String directoryId)
The directory ID of the AWS directory for which you are creating the conditional forwarder.
directoryId
- The directory ID of the AWS directory for which you are creating
the conditional forwarder.public java.lang.String getDirectoryId()
The directory ID of the AWS directory for which you are creating the conditional forwarder.
public CreateConditionalForwarderRequest withDirectoryId(java.lang.String directoryId)
The directory ID of the AWS directory for which you are creating the conditional forwarder.
directoryId
- The directory ID of the AWS directory for which you are creating
the conditional forwarder.public void setRemoteDomainName(java.lang.String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domain with
which you will set up a trust relationship.public java.lang.String getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
public CreateConditionalForwarderRequest withRemoteDomainName(java.lang.String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domain with
which you will set up a trust relationship.public java.util.List<java.lang.String> getDnsIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
public void setDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
dnsIpAddrs
- The IP addresses of the remote DNS server associated with
RemoteDomainName.public CreateConditionalForwarderRequest withDnsIpAddrs(java.lang.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)
or
withDnsIpAddrs(java.util.Collection)
if you want to override the
existing values.
dnsIpAddrs
- The IP addresses of the remote DNS server associated with
RemoteDomainName.public CreateConditionalForwarderRequest withDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
dnsIpAddrs
- The IP addresses of the remote DNS server associated with
RemoteDomainName.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateConditionalForwarderRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()