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) |
List<String> |
getConditionalForwarderIpAddrs() |
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 |
setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs) |
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 |
withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs) |
CreateTrustRequest |
withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
NOTE: This method appends the values to the existing list (if
any).
|
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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.TrustDirection
public String getTrustDirection()
TrustDirection
public CreateTrustRequest withTrustDirection(String trustDirection)
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustDirection(TrustDirection trustDirection)
trustDirection
- The direction of the trust relationship.TrustDirection
public CreateTrustRequest withTrustDirection(TrustDirection trustDirection)
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustType(String trustType)
trustType
- The trust relationship type.TrustType
public String getTrustType()
TrustType
public CreateTrustRequest withTrustType(String trustType)
trustType
- The trust relationship type.TrustType
public void setTrustType(TrustType trustType)
trustType
- The trust relationship type.TrustType
public CreateTrustRequest withTrustType(TrustType trustType)
trustType
- The trust relationship type.TrustType
public void setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
conditionalForwarderIpAddrs
- public CreateTrustRequest withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
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
- public CreateTrustRequest withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
conditionalForwarderIpAddrs
- public String toString()
toString
in class Object
Object.toString()
public CreateTrustRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.