Package com.ibm.cloud.is.vpc.v1.model
Class CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
-
- Enclosing class:
- CreatePrivatePathServiceGatewayAccountPolicyOptions
public static class CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String privatePathServiceGatewayId, String accessPolicy, AccountIdentity account)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
accessPolicy(String accessPolicy)
Set the accessPolicy.CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
account(AccountIdentity account)
Set the account.CreatePrivatePathServiceGatewayAccountPolicyOptions
build()
Builds a CreatePrivatePathServiceGatewayAccountPolicyOptions.CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
privatePathServiceGatewayId(String privatePathServiceGatewayId)
Set the privatePathServiceGatewayId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String privatePathServiceGatewayId, String accessPolicy, AccountIdentity account)
Instantiates a new builder with required properties.- Parameters:
privatePathServiceGatewayId
- the privatePathServiceGatewayIdaccessPolicy
- the accessPolicyaccount
- the account
-
-
Method Detail
-
build
public CreatePrivatePathServiceGatewayAccountPolicyOptions build()
Builds a CreatePrivatePathServiceGatewayAccountPolicyOptions.- Returns:
- the new CreatePrivatePathServiceGatewayAccountPolicyOptions instance
-
privatePathServiceGatewayId
public CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder privatePathServiceGatewayId(String privatePathServiceGatewayId)
Set the privatePathServiceGatewayId.- Parameters:
privatePathServiceGatewayId
- the privatePathServiceGatewayId- Returns:
- the CreatePrivatePathServiceGatewayAccountPolicyOptions builder
-
accessPolicy
public CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder accessPolicy(String accessPolicy)
Set the accessPolicy.- Parameters:
accessPolicy
- the accessPolicy- Returns:
- the CreatePrivatePathServiceGatewayAccountPolicyOptions builder
-
account
public CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder account(AccountIdentity account)
Set the account.- Parameters:
account
- the account- Returns:
- the CreatePrivatePathServiceGatewayAccountPolicyOptions builder
-
-