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 ClassesModifier and TypeClassDescriptionstatic interface
The access policy for the account.static class
Builder. -
Method Summary
Modifier and TypeMethodDescriptionGets the accessPolicy.asPatch()
Construct a JSON merge-patch from the PrivatePathServiceGatewayAccountPolicyPatch.New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a PrivatePathServiceGatewayAccountPolicyPatch builder
-
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
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
-