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.
NOOP| Constructor and Description |
|---|
CreateTrustRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTrustRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The Directory ID of the Microsoft AD in the AWS cloud 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 |
getTrustDirection()
The direction of the trust relationship.
|
String |
getTrustPassword()
The trust password.
|
String |
getTrustType()
The trust relationship type.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud 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 |
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; useful for testing and
debugging.
|
CreateTrustRequest |
withDirectoryId(String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud 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 |
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryId(String directoryId)
directoryId - The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.public String getDirectoryId()
public CreateTrustRequest withDirectoryId(String directoryId)
directoryId - The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.public void setRemoteDomainName(String remoteDomainName)
remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for
which to create the trust relationship.public String getRemoteDomainName()
public CreateTrustRequest withRemoteDomainName(String remoteDomainName)
remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for
which to create the trust relationship.public void setTrustPassword(String trustPassword)
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()
public CreateTrustRequest withTrustPassword(String trustPassword)
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)
trustDirection - The direction of the trust relationship.TrustDirectionpublic String getTrustDirection()
TrustDirectionpublic CreateTrustRequest withTrustDirection(String trustDirection)
trustDirection - The direction of the trust relationship.TrustDirectionpublic void setTrustDirection(TrustDirection trustDirection)
trustDirection - The direction of the trust relationship.TrustDirectionpublic CreateTrustRequest withTrustDirection(TrustDirection trustDirection)
trustDirection - The direction of the trust relationship.TrustDirectionpublic void setTrustType(String trustType)
trustType - The trust relationship type.TrustTypepublic String getTrustType()
TrustTypepublic CreateTrustRequest withTrustType(String trustType)
trustType - The trust relationship type.TrustTypepublic void setTrustType(TrustType trustType)
trustType - The trust relationship type.TrustTypepublic CreateTrustRequest withTrustType(TrustType trustType)
trustType - The trust relationship type.TrustTypepublic String toString()
toString in class ObjectObject.toString()public CreateTrustRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.