Interface VPCOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VPCOptions.Builder,,VPCOptions> SdkBuilder<VPCOptions.Builder,,VPCOptions> SdkPojo
- Enclosing class:
VPCOptions
-
Method Summary
Modifier and TypeMethodDescriptionegressEnabled(Boolean egressEnabled) Controls whether egress traffic from the domain is routed through the customer VPC.securityGroupIds(String... securityGroupIds) The list of security group IDs associated with the VPC endpoints for the domain.securityGroupIds(Collection<String> securityGroupIds) The list of security group IDs associated with the VPC endpoints for the domain.A list of subnet IDs associated with the VPC endpoints for the domain.subnetIds(Collection<String> subnetIds) A list of subnet IDs associated with the VPC endpoints for the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subnetIds
A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.
- Parameters:
subnetIds- A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.
- Parameters:
subnetIds- A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.
- Parameters:
securityGroupIds- The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.
- Parameters:
securityGroupIds- The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressEnabled
Controls whether egress traffic from the domain is routed through the customer VPC. When
true, outbound traffic flows through the VPC. Whenfalse, outbound traffic goes through the public internet.- Parameters:
egressEnabled- Controls whether egress traffic from the domain is routed through the customer VPC. Whentrue, outbound traffic flows through the VPC. Whenfalse, outbound traffic goes through the public internet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-