Class CreatePolicyTemplateVersionOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_policy_management.v1.model.CreatePolicyTemplateVersionOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreatePolicyTemplateVersionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createPolicyTemplateVersion options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatePolicyTemplateVersionOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Booleancommitted()Gets the committed.java.lang.Stringdescription()Gets the description.java.lang.Stringname()Gets the name.CreatePolicyTemplateVersionOptions.BuildernewBuilder()New builder.TemplatePolicypolicy()Gets the policy.java.lang.StringpolicyTemplateId()Gets the policyTemplateId.
-
-
-
Method Detail
-
newBuilder
public CreatePolicyTemplateVersionOptions.Builder newBuilder()
New builder.- Returns:
- a CreatePolicyTemplateVersionOptions builder
-
policyTemplateId
public java.lang.String policyTemplateId()
Gets the policyTemplateId. The policy template ID.- Returns:
- the policyTemplateId
-
policy
public TemplatePolicy policy()
Gets the policy. The core set of properties associated with the template's policy object.- Returns:
- the policy
-
name
public java.lang.String name()
Gets the name. Required field when creating a new template. Otherwise, this field is optional. If the field is included, it changes the name value for all existing versions of the template.- Returns:
- the name
-
description
public java.lang.String description()
Gets the description. Description of the policy template. This is shown to users in the enterprise account. Use this to describe the purpose or context of the policy for enterprise users managing IAM templates.- Returns:
- the description
-
committed
public java.lang.Boolean committed()
Gets the committed. Committed status of the template version.- Returns:
- the committed
-
-