Interface CreateVpcConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<CreateVpcConfigurationRequest.Builder,,CreateVpcConfigurationRequest> SdkBuilder<CreateVpcConfigurationRequest.Builder,,CreateVpcConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVpcConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description(String description) An optional description of the VPC configuration.hostHeader(String hostHeader) An optional HTTPHostheader value to send when invoking the resource.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge base to associate this VPC configuration with.An optional human-readable name for the VPC configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The port on which to reach the resource.The protocol used to connect to the resource.protocol(VpcProtocol protocol) The protocol used to connect to the resource.resolutionMode(String resolutionMode) Controls how a domain-nameresourceTargetis resolved.resolutionMode(VpcResolutionMode resolutionMode) Controls how a domain-nameresourceTargetis resolved.resourceTarget(String resourceTarget) The private IPv4 address or DNS name of the resource you want the knowledge base to reach.The subnets, in the VPC identified byvpcId, that the knowledge base uses to connect to the resource.subnetIds(Collection<String> subnetIds) The subnets, in the VPC identified byvpcId, that the knowledge base uses to connect to the resource.tlsServerName(String tlsServerName) The expected TLS server name.The identifier of the VPC that the knowledge base connects through to reach the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
buildMethods 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
-
knowledgeBaseId
The unique identifier of the knowledge base to associate this VPC configuration with.
- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base to associate this VPC configuration with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The identifier of the VPC that the knowledge base connects through to reach the resource.
- Parameters:
vpcId- The identifier of the VPC that the knowledge base connects through to reach the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The subnets, in the VPC identified by
vpcId, that the knowledge base uses to connect to the resource.- Parameters:
subnetIds- The subnets, in the VPC identified byvpcId, that the knowledge base uses to connect to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The subnets, in the VPC identified by
vpcId, that the knowledge base uses to connect to the resource.- Parameters:
subnetIds- The subnets, in the VPC identified byvpcId, that the knowledge base uses to connect to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTarget
The private IPv4 address or DNS name of the resource you want the knowledge base to reach. The target must be privately reachable from inside your VPC, such as an internal load balancer or a private IP. The following are not supported:
-
Internet-facing endpoints
-
Loopback addresses
-
Link-local addresses
-
Wildcard addresses
-
Multicast addresses
-
IPv6 literals
- Parameters:
resourceTarget- The private IPv4 address or DNS name of the resource you want the knowledge base to reach. The target must be privately reachable from inside your VPC, such as an internal load balancer or a private IP. The following are not supported:-
Internet-facing endpoints
-
Loopback addresses
-
Link-local addresses
-
Wildcard addresses
-
Multicast addresses
-
IPv6 literals
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
port
The port on which to reach the resource.
- Parameters:
port- The port on which to reach the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol used to connect to the resource. Specify
HTTPfor plaintext orHTTPSfor TLS. When you specifyHTTPS, you must also providetlsServerName.- Parameters:
protocol- The protocol used to connect to the resource. SpecifyHTTPfor plaintext orHTTPSfor TLS. When you specifyHTTPS, you must also providetlsServerName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol used to connect to the resource. Specify
HTTPfor plaintext orHTTPSfor TLS. When you specifyHTTPS, you must also providetlsServerName.- Parameters:
protocol- The protocol used to connect to the resource. SpecifyHTTPfor plaintext orHTTPSfor TLS. When you specifyHTTPS, you must also providetlsServerName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolutionMode
Controls how a domain-name
resourceTargetis resolved. This applies only when the target is a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the resolved address must be reachable from inside your VPC. Valid values:-
IN_VPC(default, recommended) – The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route 53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. -
PUBLIC– The target domain name is resolved against public DNS resolvers. Select this only when the target's domain name must be resolved through public DNS and the resulting address is still reachable from the VPC, an uncommon split-horizon configuration. If you are unsure, useIN_VPC.
- Parameters:
resolutionMode- Controls how a domain-nameresourceTargetis resolved. This applies only when the target is a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the resolved address must be reachable from inside your VPC. Valid values:-
IN_VPC(default, recommended) – The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route 53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. -
PUBLIC– The target domain name is resolved against public DNS resolvers. Select this only when the target's domain name must be resolved through public DNS and the resulting address is still reachable from the VPC, an uncommon split-horizon configuration. If you are unsure, useIN_VPC.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resolutionMode
Controls how a domain-name
resourceTargetis resolved. This applies only when the target is a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the resolved address must be reachable from inside your VPC. Valid values:-
IN_VPC(default, recommended) – The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route 53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. -
PUBLIC– The target domain name is resolved against public DNS resolvers. Select this only when the target's domain name must be resolved through public DNS and the resulting address is still reachable from the VPC, an uncommon split-horizon configuration. If you are unsure, useIN_VPC.
- Parameters:
resolutionMode- Controls how a domain-nameresourceTargetis resolved. This applies only when the target is a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the resolved address must be reachable from inside your VPC. Valid values:-
IN_VPC(default, recommended) – The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route 53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. -
PUBLIC– The target domain name is resolved against public DNS resolvers. Select this only when the target's domain name must be resolved through public DNS and the resulting address is still reachable from the VPC, an uncommon split-horizon configuration. If you are unsure, useIN_VPC.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
hostHeader
An optional HTTP
Hostheader value to send when invoking the resource. Set this only if your resource (or an upstream router or ingress) routes by theHostheader and that host differs from the target. This setting is independent oftlsServerName.- Parameters:
hostHeader- An optional HTTPHostheader value to send when invoking the resource. Set this only if your resource (or an upstream router or ingress) routes by theHostheader and that host differs from the target. This setting is independent oftlsServerName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsServerName
The expected TLS server name. The service matches this value against the Subject Alternative Names on your resource's TLS certificate during invocation. This field is required when
protocolisHTTPS. Set it to a hostname on your certificate, such asapp.internal.example.com. You can use a single leftmost wildcard, such as*.example.com. The value must be a hostname without a port.- Parameters:
tlsServerName- The expected TLS server name. The service matches this value against the Subject Alternative Names on your resource's TLS certificate during invocation. This field is required whenprotocolisHTTPS. Set it to a hostname on your certificate, such asapp.internal.example.com. You can use a single leftmost wildcard, such as*.example.com. The value must be a hostname without a port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
An optional human-readable name for the VPC configuration. If you don't specify a name, the VPC configuration has no name.
- Parameters:
name- An optional human-readable name for the VPC configuration. If you don't specify a name, the VPC configuration has no name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description of the VPC configuration. If you don't specify a description, the VPC configuration has no description.
- Parameters:
description- An optional description of the VPC configuration. If you don't specify a description, the VPC configuration has no description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVpcConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVpcConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-