public class CreateTrustRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
conditionalForwarderIpAddrs |
private java.lang.String |
directoryId
The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.
|
private java.lang.String |
remoteDomainName
The Fully Qualified Domain Name (FQDN) of the external domain for which
to create the trust relationship.
|
private java.lang.String |
trustDirection
The direction of the trust relationship.
|
private java.lang.String |
trustPassword
The trust password.
|
private java.lang.String |
trustType
The trust relationship type.
|
NOOP
Constructor and Description |
---|
CreateTrustRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrustRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getConditionalForwarderIpAddrs() |
java.lang.String |
getDirectoryId()
The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.
|
java.lang.String |
getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain for which
to create the trust relationship.
|
java.lang.String |
getTrustDirection()
The direction of the trust relationship.
|
java.lang.String |
getTrustPassword()
The trust password.
|
java.lang.String |
getTrustType()
The trust relationship type.
|
int |
hashCode() |
void |
setConditionalForwarderIpAddrs(java.util.Collection<java.lang.String> conditionalForwarderIpAddrs) |
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.
|
void |
setRemoteDomainName(java.lang.String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which
to create the trust relationship.
|
void |
setTrustDirection(java.lang.String trustDirection)
The direction of the trust relationship.
|
void |
setTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
|
void |
setTrustPassword(java.lang.String trustPassword)
The trust password.
|
void |
setTrustType(java.lang.String trustType)
The trust relationship type.
|
void |
setTrustType(TrustType trustType)
The trust relationship type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTrustRequest |
withConditionalForwarderIpAddrs(java.util.Collection<java.lang.String> conditionalForwarderIpAddrs) |
CreateTrustRequest |
withConditionalForwarderIpAddrs(java.lang.String... conditionalForwarderIpAddrs)
NOTE: This method appends the values to the existing list (if
any).
|
CreateTrustRequest |
withDirectoryId(java.lang.String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.
|
CreateTrustRequest |
withRemoteDomainName(java.lang.String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which
to create the trust relationship.
|
CreateTrustRequest |
withTrustDirection(java.lang.String trustDirection)
The direction of the trust relationship.
|
CreateTrustRequest |
withTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
|
CreateTrustRequest |
withTrustPassword(java.lang.String trustPassword)
The trust password.
|
CreateTrustRequest |
withTrustType(java.lang.String trustType)
The trust relationship type.
|
CreateTrustRequest |
withTrustType(TrustType trustType)
The trust relationship type.
|
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
private java.lang.String directoryId
private java.lang.String remoteDomainName
private java.lang.String trustPassword
private java.lang.String trustDirection
private java.lang.String trustType
private SdkInternalList<java.lang.String> conditionalForwarderIpAddrs
public void setDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.public java.lang.String getDirectoryId()
public CreateTrustRequest withDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the Microsoft AD in the AWS cloud for which to
establish the trust relationship.public void setRemoteDomainName(java.lang.String remoteDomainName)
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for
which to create the trust relationship.public java.lang.String getRemoteDomainName()
public CreateTrustRequest withRemoteDomainName(java.lang.String remoteDomainName)
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for
which to create the trust relationship.public void setTrustPassword(java.lang.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 java.lang.String getTrustPassword()
public CreateTrustRequest withTrustPassword(java.lang.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(java.lang.String trustDirection)
trustDirection
- The direction of the trust relationship.TrustDirection
public java.lang.String getTrustDirection()
TrustDirection
public CreateTrustRequest withTrustDirection(java.lang.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(java.lang.String trustType)
trustType
- The trust relationship type.TrustType
public java.lang.String getTrustType()
TrustType
public CreateTrustRequest withTrustType(java.lang.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 java.util.List<java.lang.String> getConditionalForwarderIpAddrs()
public void setConditionalForwarderIpAddrs(java.util.Collection<java.lang.String> conditionalForwarderIpAddrs)
conditionalForwarderIpAddrs
- public CreateTrustRequest withConditionalForwarderIpAddrs(java.lang.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(java.util.Collection<java.lang.String> conditionalForwarderIpAddrs)
conditionalForwarderIpAddrs
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTrustRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()