Class InstancePolicyKeyCreateImportAccessPolicyDataAttributes
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyKeyCreateImportAccessPolicyDataAttributes
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstancePolicyKeyCreateImportAccessPolicyDataAttributes extends com.ibm.cloud.sdk.core.service.model.GenericModelAttributes of a `keyCreateImportAccess` 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 classInstancePolicyKeyCreateImportAccessPolicyDataAttributes.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleancreateRootKey()Gets the createRootKey.BooleancreateStandardKey()Gets the createStandardKey.BooleanenforceToken()Gets the enforceToken.BooleanimportRootKey()Gets the importRootKey.BooleanimportStandardKey()Gets the importStandardKey.InstancePolicyKeyCreateImportAccessPolicyDataAttributes.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public InstancePolicyKeyCreateImportAccessPolicyDataAttributes.Builder newBuilder()
New builder.- Returns:
- a InstancePolicyKeyCreateImportAccessPolicyDataAttributes builder
-
createRootKey
public Boolean createRootKey()
Gets the createRootKey. If set to `false`, the service prevents you or any authorized users from using Key Protect to create root keys in the specified service instance. If set to `true`, Key Protect allows you or any authorized users to create root keys in the instance. **Note:** If omitted, `POST /instance/policies` will set this attribute to the default value (`true`).- Returns:
- the createRootKey
-
createStandardKey
public Boolean createStandardKey()
Gets the createStandardKey. If set to `false`, the service prevents you or any authorized users from using Key Protect to create standard keys in the specified service instance. If set to `true`, Key Protect allows you or any authorized users to create standard keys in the instance. **Note:** If omitted, `POST /instance/policies` will set this attribute to the default value (`true`).- Returns:
- the createStandardKey
-
importRootKey
public Boolean importRootKey()
Gets the importRootKey. If set to `false`, the service prevents you or any authorized users from importing root keys into the specified service instance. If set to `true`, Key Protect allows you or any authorized users to import root keys into the instance. **Note:** If omitted, `POST /instance/policies` will set this attribute to the default value (`true`).- Returns:
- the importRootKey
-
importStandardKey
public Boolean importStandardKey()
Gets the importStandardKey. If set to `false`, the service prevents you or any authorized users from importing standard keys into the specified service instance. If set to `true`, Key Protect allows you or any authorized users to import standard keys into the instance. **Note:** If omitted, `POST /instance/policies` will set this attribute to the default value (`true`).- Returns:
- the importStandardKey
-
enforceToken
public Boolean enforceToken()
Gets the enforceToken. If set to `true`, the service prevents you or any authorized users from importing key material into the specified service instance without using an import token. If set to `false`, Key Protect allows you or any authorized users to import key material into the instance without the use of an import token. **Note:** If omitted, `POST /instance/policies` will set this attribute to the default value (`false`).- Returns:
- the enforceToken
-
-