Interface PublicDestinationEndpointNetworkingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublicDestinationEndpointNetworkingConfiguration.Builder,,PublicDestinationEndpointNetworkingConfiguration> SdkBuilder<PublicDestinationEndpointNetworkingConfiguration.Builder,,PublicDestinationEndpointNetworkingConfiguration> SdkPojo
- Enclosing class:
PublicDestinationEndpointNetworkingConfiguration
@Mutable
@NotThreadSafe
public static interface PublicDestinationEndpointNetworkingConfiguration.Builder
extends SdkPojo, CopyableBuilder<PublicDestinationEndpointNetworkingConfiguration.Builder,PublicDestinationEndpointNetworkingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationAllowRules(Collection<PublicDestinationEndpointNetworkingConfigurationAllowRule> destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint.destinationAllowRules(Consumer<PublicDestinationEndpointNetworkingConfigurationAllowRule.Builder>... destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint.destinationAllowRules(PublicDestinationEndpointNetworkingConfigurationAllowRule... destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint.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
-
destinationAllowRules
PublicDestinationEndpointNetworkingConfiguration.Builder destinationAllowRules(Collection<PublicDestinationEndpointNetworkingConfigurationAllowRule> destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint. You can specify up to 10 rules.
- Parameters:
destinationAllowRules- The rules that specify which CIDR blocks can connect to the destination endpoint. You can specify up to 10 rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAllowRules
PublicDestinationEndpointNetworkingConfiguration.Builder destinationAllowRules(PublicDestinationEndpointNetworkingConfigurationAllowRule... destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint. You can specify up to 10 rules.
- Parameters:
destinationAllowRules- The rules that specify which CIDR blocks can connect to the destination endpoint. You can specify up to 10 rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAllowRules
PublicDestinationEndpointNetworkingConfiguration.Builder destinationAllowRules(Consumer<PublicDestinationEndpointNetworkingConfigurationAllowRule.Builder>... destinationAllowRules) The rules that specify which CIDR blocks can connect to the destination endpoint. You can specify up to 10 rules.
This is a convenience method that creates an instance of thePublicDestinationEndpointNetworkingConfigurationAllowRule.Builderavoiding the need to create one manually viaPublicDestinationEndpointNetworkingConfigurationAllowRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationAllowRules(List<PublicDestinationEndpointNetworkingConfigurationAllowRule>).- Parameters:
destinationAllowRules- a consumer that will call methods onPublicDestinationEndpointNetworkingConfigurationAllowRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-