Package com.ibm.cloud.is.vpc.v1.model
Class CreatePrivatePathServiceGatewayAccountPolicyOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreatePrivatePathServiceGatewayAccountPolicyOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreatePrivatePathServiceGatewayAccountPolicyOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createPrivatePathServiceGatewayAccountPolicy options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreatePrivatePathServiceGatewayAccountPolicyOptions.AccessPolicy
The access policy for the account.static class
CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accessPolicy()
Gets the accessPolicy.AccountIdentity
account()
Gets the account.CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder
newBuilder()
New builder.String
privatePathServiceGatewayId()
Gets the privatePathServiceGatewayId.
-
-
-
Method Detail
-
newBuilder
public CreatePrivatePathServiceGatewayAccountPolicyOptions.Builder newBuilder()
New builder.- Returns:
- a CreatePrivatePathServiceGatewayAccountPolicyOptions builder
-
privatePathServiceGatewayId
public String privatePathServiceGatewayId()
Gets the privatePathServiceGatewayId. The private path service gateway identifier.- Returns:
- the privatePathServiceGatewayId
-
accessPolicy
public String accessPolicy()
Gets the accessPolicy. The access policy for the account. Updating the access policy only affects pending and future endpoint gateway bindings. - permit: access will be permitted - deny: access will be denied - review: access will be manually reviewed - Updating to `review` sets the status of future endpoint gateway bindings from this account to `pending`. - Updating to `permit` updates both the status of any `pending` and future endpoint gateway bindings from this account to `permitted`. - Updating to `deny` updates both the status of any `pending` and future endpoint gateway bindings from this account to `denied`.- Returns:
- the accessPolicy
-
account
public AccountIdentity account()
Gets the account. The account for this access policy. The account must be unique across all account policies for this private path service gateway.- Returns:
- the account
-
-