Package com.ibm.cloud.is.vpc.v1.model
Class PrivatePathServiceGatewayAccountPolicyPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.PrivatePathServiceGatewayAccountPolicyPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrivatePathServiceGatewayAccountPolicyPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
PrivatePathServiceGatewayAccountPolicyPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PrivatePathServiceGatewayAccountPolicyPatch.AccessPolicy
The access policy for the account.static class
PrivatePathServiceGatewayAccountPolicyPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accessPolicy()
Gets the accessPolicy.Map<String,Object>
asPatch()
Construct a JSON merge-patch from the PrivatePathServiceGatewayAccountPolicyPatch.PrivatePathServiceGatewayAccountPolicyPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public PrivatePathServiceGatewayAccountPolicyPatch.Builder newBuilder()
New builder.- Returns:
- a PrivatePathServiceGatewayAccountPolicyPatch builder
-
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
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the PrivatePathServiceGatewayAccountPolicyPatch. Note that properties of the PrivatePathServiceGatewayAccountPolicyPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the PrivatePathServiceGatewayAccountPolicyPatch
-
-