Class CreateTrustRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.directory.model.CreateTrustRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises 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 AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.The direction of the trust relationship.The trust password.The trust relationship type.inthashCode()voidsetConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs) voidsetDirectoryId(String directoryId) The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.voidsetRemoteDomainName(String remoteDomainName) The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.voidsetTrustDirection(TrustDirection trustDirection) The direction of the trust relationship.voidsetTrustDirection(String trustDirection) The direction of the trust relationship.voidsetTrustPassword(String trustPassword) The trust password.voidsetTrustType(TrustType trustType) The trust relationship type.voidsetTrustType(String trustType) The trust relationship type.toString()Returns a string representation of this object; useful for testing and debugging.withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs) NOTE: This method appends the values to the existing list (if any).withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs) withDirectoryId(String directoryId) The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.withRemoteDomainName(String remoteDomainName) The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.withTrustDirection(TrustDirection trustDirection) The direction of the trust relationship.withTrustDirection(String trustDirection) The direction of the trust relationship.withTrustPassword(String trustPassword) The trust password.withTrustType(TrustType trustType) The trust relationship type.withTrustType(String trustType) The trust relationship type.Methods inherited from class 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
-
Constructor Details
-
CreateTrustRequest
public CreateTrustRequest()
-
-
Method Details
-
setDirectoryId
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.- Parameters:
directoryId- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
-
getDirectoryId
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.- Returns:
- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
-
withDirectoryId
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.- Parameters:
directoryId- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRemoteDomainName
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.- Parameters:
remoteDomainName- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
-
getRemoteDomainName
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.- Returns:
- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
-
withRemoteDomainName
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.- Parameters:
remoteDomainName- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrustPassword
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.- Parameters:
trustPassword- The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
-
getTrustPassword
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.- Returns:
- The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
-
withTrustPassword
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.- Parameters:
trustPassword- The trust password. The must be the same password that was used when creating the trust relationship on the external domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrustDirection
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- See Also:
-
getTrustDirection
The direction of the trust relationship.- Returns:
- The direction of the trust relationship.
- See Also:
-
withTrustDirection
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTrustDirection
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- See Also:
-
withTrustDirection
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTrustType
The trust relationship type.- Parameters:
trustType- The trust relationship type.- See Also:
-
getTrustType
The trust relationship type.- Returns:
- The trust relationship type.
- See Also:
-
withTrustType
The trust relationship type.- Parameters:
trustType- The trust relationship type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTrustType
The trust relationship type.- Parameters:
trustType- The trust relationship type.- See Also:
-
withTrustType
The trust relationship type.- Parameters:
trustType- The trust relationship type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getConditionalForwarderIpAddrs
-
setConditionalForwarderIpAddrs
- Parameters:
conditionalForwarderIpAddrs-
-
withConditionalForwarderIpAddrs
NOTE: This method appends the values to the existing list (if any). Use
setConditionalForwarderIpAddrs(java.util.Collection)orwithConditionalForwarderIpAddrs(java.util.Collection)if you want to override the existing values.- Parameters:
conditionalForwarderIpAddrs-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConditionalForwarderIpAddrs
public CreateTrustRequest withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs) - Parameters:
conditionalForwarderIpAddrs-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
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:
-