@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getConditionalForwarderIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
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)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
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)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
CreateTrustRequest |
withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryId(String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
directoryId
- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.public String getDirectoryId()
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
public CreateTrustRequest withDirectoryId(String directoryId)
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
directoryId
- The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.public void setRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.public String getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
public CreateTrustRequest withRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.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.
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()
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
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.
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)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public String getTrustDirection()
The direction of the trust relationship.
TrustDirection
public CreateTrustRequest withTrustDirection(String trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public CreateTrustRequest withTrustDirection(TrustDirection trustDirection)
The direction of the trust relationship.
trustDirection
- The direction of the trust relationship.TrustDirection
public void setTrustType(String trustType)
The trust relationship type.
trustType
- The trust relationship type.TrustType
public String getTrustType()
The trust relationship type.
TrustType
public CreateTrustRequest withTrustType(String trustType)
The trust relationship type.
trustType
- The trust relationship type.TrustType
public void setTrustType(TrustType trustType)
The trust relationship type.
trustType
- The trust relationship type.TrustType
public CreateTrustRequest withTrustType(TrustType trustType)
The trust relationship type.
trustType
- The trust relationship type.TrustType
public List<String> getConditionalForwarderIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
public void setConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName.public CreateTrustRequest withConditionalForwarderIpAddrs(String... conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
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
- The IP addresses of the remote DNS server associated with RemoteDomainName.public CreateTrustRequest withConditionalForwarderIpAddrs(Collection<String> conditionalForwarderIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.
conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName.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.