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