@Generated(value="software.amazon.awssdk:codegen") public class CreateConditionalForwarderRequest extends DirectoryRequest implements ToCopyableBuilder<CreateConditionalForwarderRequest.Builder,CreateConditionalForwarderRequest>
Initiates the creation of a conditional forwarder for your AWS Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateConditionalForwarderRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateConditionalForwarderRequest.Builder |
builder() |
String |
directoryId()
The directory ID of the AWS directory for which you are creating the conditional forwarder.
|
List<String> |
dnsIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
remoteDomainName()
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
|
static Class<? extends CreateConditionalForwarderRequest.Builder> |
serializableBuilderClass() |
CreateConditionalForwarderRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String directoryId()
The directory ID of the AWS directory for which you are creating the conditional forwarder.
public String remoteDomainName()
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
public List<String> dnsIpAddrs()
The IP addresses of the remote DNS server associated with RemoteDomainName.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateConditionalForwarderRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateConditionalForwarderRequest.Builder,CreateConditionalForwarderRequest>
toBuilder
in class DirectoryRequest
public static CreateConditionalForwarderRequest.Builder builder()
public static Class<? extends CreateConditionalForwarderRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.