public static interface AddIpRoutesRequest.Builder extends DirectoryRequest.Builder, CopyableBuilder<AddIpRoutesRequest.Builder,AddIpRoutesRequest>
Modifier and Type | Method and Description |
---|---|
AddIpRoutesRequest.Builder |
directoryId(String directoryId)
Identifier (ID) of the directory to which to add the address block.
|
AddIpRoutesRequest.Builder |
ipRoutes(Collection<IpRoute> ipRoutes)
IP address blocks, using CIDR format, of the traffic to route.
|
AddIpRoutesRequest.Builder |
ipRoutes(Consumer<IpRoute.Builder>... ipRoutes)
IP address blocks, using CIDR format, of the traffic to route.
|
AddIpRoutesRequest.Builder |
ipRoutes(IpRoute... ipRoutes)
IP address blocks, using CIDR format, of the traffic to route.
|
AddIpRoutesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddIpRoutesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddIpRoutesRequest.Builder |
updateSecurityGroupForDirectoryControllers(Boolean updateSecurityGroupForDirectoryControllers)
If set to true, updates the inbound and outbound rules of the security group that has the description:
"AWS created security group for directory ID directory controllers." Following are the new rules:
|
build
overrideConfiguration
copy
applyMutation, build
AddIpRoutesRequest.Builder directoryId(String directoryId)
Identifier (ID) of the directory to which to add the address block.
directoryId
- Identifier (ID) of the directory to which to add the address block.AddIpRoutesRequest.Builder ipRoutes(Collection<IpRoute> ipRoutes)
IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain.
ipRoutes
- IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of
the DNS server used for your on-premises domain.AddIpRoutesRequest.Builder ipRoutes(IpRoute... ipRoutes)
IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain.
ipRoutes
- IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of
the DNS server used for your on-premises domain.AddIpRoutesRequest.Builder ipRoutes(Consumer<IpRoute.Builder>... ipRoutes)
IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #ipRoutes(List)
.ipRoutes
- a consumer that will call methods on List.Builder
#ipRoutes(List)
AddIpRoutesRequest.Builder updateSecurityGroupForDirectoryControllers(Boolean updateSecurityGroupForDirectoryControllers)
If set to true, updates the inbound and outbound rules of the security group that has the description: "AWS created security group for directory ID directory controllers." Following are the new rules:
Inbound:
Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0
Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
Outbound:
Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
These security rules impact an internal network interface that is not exposed publicly.
updateSecurityGroupForDirectoryControllers
- If set to true, updates the inbound and outbound rules of the security group that has the description:
"AWS created security group for directory ID directory controllers." Following are the new
rules:
Inbound:
Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0
Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0
Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
Outbound:
Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
These security rules impact an internal network interface that is not exposed publicly.
AddIpRoutesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddIpRoutesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.