Class CreateTrustRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.CreateTrustRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateTrustRequest extends AmazonWebServiceRequest implements 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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateTrustRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTrustRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getConditionalForwarderIpAddrs()StringgetDirectoryId()The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.StringgetRemoteDomainName()The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.StringgetTrustDirection()The direction of the trust relationship.StringgetTrustPassword()The trust password.StringgetTrustType()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateTrustRequestwithConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)NOTE: This method appends the values to the existing list (if any).CreateTrustRequestwithConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)CreateTrustRequestwithDirectoryId(String directoryId)The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.CreateTrustRequestwithRemoteDomainName(String remoteDomainName)The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.CreateTrustRequestwithTrustDirection(TrustDirection trustDirection)The direction of the trust relationship.CreateTrustRequestwithTrustDirection(String trustDirection)The direction of the trust relationship.CreateTrustRequestwithTrustPassword(String trustPassword)The trust password.CreateTrustRequestwithTrustType(TrustType trustType)The trust relationship type.CreateTrustRequestwithTrustType(String trustType)The trust relationship type.-
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 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
public String 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
public CreateTrustRequest withDirectoryId(String directoryId)
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
public void setRemoteDomainName(String remoteDomainName)
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
public String 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
public CreateTrustRequest withRemoteDomainName(String remoteDomainName)
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
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.- Parameters:
trustPassword- The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
-
getTrustPassword
public String 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
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.- 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
public void setTrustDirection(String trustDirection)
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- See Also:
TrustDirection
-
getTrustDirection
public String getTrustDirection()
The direction of the trust relationship.- Returns:
- The direction of the trust relationship.
- See Also:
TrustDirection
-
withTrustDirection
public CreateTrustRequest withTrustDirection(String trustDirection)
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:
TrustDirection
-
setTrustDirection
public void setTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.- Parameters:
trustDirection- The direction of the trust relationship.- See Also:
TrustDirection
-
withTrustDirection
public CreateTrustRequest withTrustDirection(TrustDirection trustDirection)
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:
TrustDirection
-
setTrustType
public void setTrustType(String trustType)
The trust relationship type.- Parameters:
trustType- The trust relationship type.- See Also:
TrustType
-
getTrustType
public String getTrustType()
The trust relationship type.- Returns:
- The trust relationship type.
- See Also:
TrustType
-
withTrustType
public CreateTrustRequest withTrustType(String trustType)
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:
TrustType
-
setTrustType
public void setTrustType(TrustType trustType)
The trust relationship type.- Parameters:
trustType- The trust relationship type.- See Also:
TrustType
-
withTrustType
public CreateTrustRequest withTrustType(TrustType trustType)
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:
TrustType
-
setConditionalForwarderIpAddrs
public void setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
- Parameters:
conditionalForwarderIpAddrs-
-
withConditionalForwarderIpAddrs
public CreateTrustRequest withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
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
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 CreateTrustRequest 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()
-
-