Class InstancePolicyAllowedNetworkPolicyDataAttributes
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyAllowedNetworkPolicyDataAttributes
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstancePolicyAllowedNetworkPolicyDataAttributes extends com.ibm.cloud.sdk.core.service.model.GenericModel
Attributes of an `allowedNetwork` instance policy. Must be provided if the `enabled` field is `true`. Cannot be provided if the `enabled` field is `false`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstancePolicyAllowedNetworkPolicyDataAttributes.AllowedNetwork
If set to `public-and-private`, Key Protect allows the instance to be accessible through public and private endpoints.static class
InstancePolicyAllowedNetworkPolicyDataAttributes.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
allowedNetwork()
Gets the allowedNetwork.InstancePolicyAllowedNetworkPolicyDataAttributes.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public InstancePolicyAllowedNetworkPolicyDataAttributes.Builder newBuilder()
New builder.- Returns:
- a InstancePolicyAllowedNetworkPolicyDataAttributes builder
-
allowedNetwork
public String allowedNetwork()
Gets the allowedNetwork. If set to `public-and-private`, Key Protect allows the instance to be accessible through public and private endpoints. If set to `private-only`, Key Protect restricts the instance to only be accessible through a private endpoint.- Returns:
- the allowedNetwork
-
-