@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrustRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain.
NOOP
Constructor and Description |
---|
CreateTrustRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrustRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getConditionalForwarderIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
String |
getDirectoryId()
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
|
String |
getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
|
String |
getSelectiveAuth()
Optional parameter to enable selective authentication for the trust.
|
String |
getTrustDirection()
The direction of the trust relationship.
|
String |
getTrustPassword()
The trust password.
|
String |
getTrustType()
The trust relationship type.
|
int |
hashCode() |
void |
setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
void |
setDirectoryId(String directoryId)
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
|
void |
setRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
|
void |
setSelectiveAuth(SelectiveAuth selectiveAuth)
Optional parameter to enable selective authentication for the trust.
|
void |
setSelectiveAuth(String selectiveAuth)
Optional parameter to enable selective authentication for the trust.
|
void |
setTrustDirection(String trustDirection)
The direction of the trust relationship.
|
void |
setTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
|
void |
setTrustPassword(String trustPassword)
The trust password.
|
void |
setTrustType(String trustType)
The trust relationship type.
|
void |
setTrustType(TrustType trustType)
The trust relationship type.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrustRequest |
withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
CreateTrustRequest |
withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
CreateTrustRequest |
withDirectoryId(String directoryId)
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
|
CreateTrustRequest |
withRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
|
CreateTrustRequest |
withSelectiveAuth(SelectiveAuth selectiveAuth)
Optional parameter to enable selective authentication for the trust.
|
CreateTrustRequest |
withSelectiveAuth(String selectiveAuth)
Optional parameter to enable selective authentication for the trust.
|
CreateTrustRequest |
withTrustDirection(String trustDirection)
The direction of the trust relationship.
|
CreateTrustRequest |
withTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
|
CreateTrustRequest |
withTrustPassword(String trustPassword)
The trust password.
|
CreateTrustRequest |
withTrustType(String trustType)
The trust relationship type.
|
CreateTrustRequest |
withTrustType(TrustType trustType)
The trust relationship type.
|
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 setDirectoryId(String directoryId)
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
directoryId
- The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.public String getDirectoryId()
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
public CreateTrustRequest withDirectoryId(String directoryId)
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
directoryId
- The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.public void setRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.public String getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
public CreateTrustRequest withRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.public void setTrustPassword(String trustPassword)
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
trustPassword
- The trust password. The must be the same password that was used when creating the trust relationship on
the external domain.public String getTrustPassword()
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
public CreateTrustRequest withTrustPassword(String trustPassword)
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
trustPassword
- The trust password. The must be the same password that was used when creating the trust relationship on
the external domain.public void setTrustDirection(String trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public String getTrustDirection()
The direction of the trust relationship.
TrustDirection
public CreateTrustRequest withTrustDirection(String trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public CreateTrustRequest withTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustType(String trustType)
The trust relationship type. Forest
is the default.
trustType
- The trust relationship type. Forest
is the default.TrustType
public String getTrustType()
The trust relationship type. Forest
is the default.
Forest
is the default.TrustType
public CreateTrustRequest withTrustType(String trustType)
The trust relationship type. Forest
is the default.
trustType
- The trust relationship type. Forest
is the default.TrustType
public void setTrustType(TrustType trustType)
The trust relationship type. Forest
is the default.
trustType
- The trust relationship type. Forest
is the default.TrustType
public CreateTrustRequest withTrustType(TrustType trustType)
The trust relationship type. Forest
is the default.
trustType
- The trust relationship type. Forest
is the default.TrustType
public List<String> getConditionalForwarderIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
public void setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName.public CreateTrustRequest withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
NOTE: This method appends the values to the existing list (if any). Use
setConditionalForwarderIpAddrs(java.util.Collection)
or
withConditionalForwarderIpAddrs(java.util.Collection)
if you want to override the existing values.
conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName.public CreateTrustRequest withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName.public void setSelectiveAuth(String selectiveAuth)
Optional parameter to enable selective authentication for the trust.
selectiveAuth
- Optional parameter to enable selective authentication for the trust.SelectiveAuth
public String getSelectiveAuth()
Optional parameter to enable selective authentication for the trust.
SelectiveAuth
public CreateTrustRequest withSelectiveAuth(String selectiveAuth)
Optional parameter to enable selective authentication for the trust.
selectiveAuth
- Optional parameter to enable selective authentication for the trust.SelectiveAuth
public void setSelectiveAuth(SelectiveAuth selectiveAuth)
Optional parameter to enable selective authentication for the trust.
selectiveAuth
- Optional parameter to enable selective authentication for the trust.SelectiveAuth
public CreateTrustRequest withSelectiveAuth(SelectiveAuth selectiveAuth)
Optional parameter to enable selective authentication for the trust.
selectiveAuth
- Optional parameter to enable selective authentication for the trust.SelectiveAuth
public String toString()
toString
in class Object
Object.toString()
public CreateTrustRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()