Package com.ibm.cloud.is.vpc.v1.model
Class VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder
-
public static class VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(VPNServerAuthenticationPrototype vpnServerAuthenticationPrototypeVpnServerAuthenticationByUsernamePrototype)
Instantiates a new Builder from an existing VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype instance.Builder(String method, VPNServerAuthenticationByUsernameIdProvider identityProvider)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype
build()
Builds a VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder
identityProvider(VPNServerAuthenticationByUsernameIdProvider identityProvider)
Set the identityProvider.VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder
method(String method)
Set the method.
-
-
-
Constructor Detail
-
Builder
public Builder(VPNServerAuthenticationPrototype vpnServerAuthenticationPrototypeVpnServerAuthenticationByUsernamePrototype)
Instantiates a new Builder from an existing VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype instance.- Parameters:
vpnServerAuthenticationPrototypeVpnServerAuthenticationByUsernamePrototype
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String method, VPNServerAuthenticationByUsernameIdProvider identityProvider)
Instantiates a new builder with required properties.- Parameters:
method
- the methodidentityProvider
- the identityProvider
-
-
Method Detail
-
build
public VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype build()
Builds a VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.- Returns:
- the new VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype instance
-
method
public VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder method(String method)
Set the method.- Parameters:
method
- the method- Returns:
- the VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype builder
-
identityProvider
public VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype.Builder identityProvider(VPNServerAuthenticationByUsernameIdProvider identityProvider)
Set the identityProvider.- Parameters:
identityProvider
- the identityProvider- Returns:
- the VPNServerAuthenticationPrototypeVPNServerAuthenticationByUsernamePrototype builder
-
-