Interface CreateServiceNetworkVpcAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceNetworkVpcAssociationRequest.Builder,,CreateServiceNetworkVpcAssociationRequest> SdkBuilder<CreateServiceNetworkVpcAssociationRequest.Builder,,CreateServiceNetworkVpcAssociationRequest> SdkPojo,SdkRequest.Builder,VpcLatticeRequest.Builder
- Enclosing class:
CreateServiceNetworkVpcAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.dnsOptions(Consumer<DnsOptions.Builder> dnsOptions) DNS options for the service network VPC association.dnsOptions(DnsOptions dnsOptions) DNS options for the service network VPC association.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.privateDnsEnabled(Boolean privateDnsEnabled) Indicates if private DNS is enabled for the VPC association.securityGroupIds(String... securityGroupIds) The IDs of the security groups.securityGroupIds(Collection<String> securityGroupIds) The IDs of the security groups.serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or ARN of the service network.The tags for the association.vpcIdentifier(String vpcIdentifier) The ID of the VPC.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNetworkIdentifier
CreateServiceNetworkVpcAssociationRequest.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.
- Parameters:
serviceNetworkIdentifier- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcIdentifier
The ID of the VPC.
- Parameters:
vpcIdentifier- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsEnabled
Indicates if private DNS is enabled for the VPC association.
- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the VPC association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateServiceNetworkVpcAssociationRequest.Builder securityGroupIds(Collection<String> securityGroupIds) The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
- Parameters:
securityGroupIds- The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
- Parameters:
securityGroupIds- The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the association.
- Parameters:
tags- The tags for the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsOptions
DNS options for the service network VPC association.
- Parameters:
dnsOptions- DNS options for the service network VPC association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsOptions
default CreateServiceNetworkVpcAssociationRequest.Builder dnsOptions(Consumer<DnsOptions.Builder> dnsOptions) DNS options for the service network VPC association.
This is a convenience method that creates an instance of theDnsOptions.Builderavoiding the need to create one manually viaDnsOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsOptions(DnsOptions).- Parameters:
dnsOptions- a consumer that will call methods onDnsOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateServiceNetworkVpcAssociationRequest.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
CreateServiceNetworkVpcAssociationRequest.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.
-