Interface RouterNetworkInterfaceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouterNetworkInterfaceConfiguration.Builder,,RouterNetworkInterfaceConfiguration> SdkBuilder<RouterNetworkInterfaceConfiguration.Builder,,RouterNetworkInterfaceConfiguration> SdkPojo
- Enclosing class:
RouterNetworkInterfaceConfiguration
@Mutable
@NotThreadSafe
public static interface RouterNetworkInterfaceConfiguration.Builder
extends SdkPojo, CopyableBuilder<RouterNetworkInterfaceConfiguration.Builder,RouterNetworkInterfaceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Public property for this object.publicValue(PublicRouterNetworkInterfaceConfiguration publicValue) Sets the value of the Public property for this object.Sets the value of the Vpc property for this object.Sets the value of the Vpc property for this object.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
-
publicValue
RouterNetworkInterfaceConfiguration.Builder publicValue(PublicRouterNetworkInterfaceConfiguration publicValue) Sets the value of the Public property for this object.- Parameters:
publicValue- The new value for the Public property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicValue
default RouterNetworkInterfaceConfiguration.Builder publicValue(Consumer<PublicRouterNetworkInterfaceConfiguration.Builder> publicValue) Sets the value of the Public property for this object. This is a convenience method that creates an instance of thePublicRouterNetworkInterfaceConfiguration.Builderavoiding the need to create one manually viaPublicRouterNetworkInterfaceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicValue(PublicRouterNetworkInterfaceConfiguration).- Parameters:
publicValue- a consumer that will call methods onPublicRouterNetworkInterfaceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpc
Sets the value of the Vpc property for this object.- Parameters:
vpc- The new value for the Vpc property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
default RouterNetworkInterfaceConfiguration.Builder vpc(Consumer<VpcRouterNetworkInterfaceConfiguration.Builder> vpc) Sets the value of the Vpc property for this object. This is a convenience method that creates an instance of theVpcRouterNetworkInterfaceConfiguration.Builderavoiding the need to create one manually viaVpcRouterNetworkInterfaceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpc(VpcRouterNetworkInterfaceConfiguration).- Parameters:
vpc- a consumer that will call methods onVpcRouterNetworkInterfaceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-