Class PolicyTemplateLimitData
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_policy_management.v1.model.PolicyTemplateLimitData
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PolicyTemplateLimitData extends com.ibm.cloud.sdk.core.service.model.GenericModel
The core set of properties associated with the policy template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PolicyTemplateLimitData.State
State of policy template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccountId()
Gets the accountId.TemplateCountData
getCounts()
Gets the counts.java.util.Date
getCreatedAt()
Gets the createdAt.java.lang.String
getCreatedById()
Gets the createdById.java.lang.String
getDescription()
Gets the description.java.lang.String
getHref()
Gets the href.java.lang.String
getId()
Gets the id.java.util.Date
getLastModifiedAt()
Gets the lastModifiedAt.java.lang.String
getLastModifiedById()
Gets the lastModifiedById.java.lang.String
getName()
Gets the name.TemplatePolicy
getPolicy()
Gets the policy.java.lang.String
getState()
Gets the state.java.lang.String
getVersion()
Gets the version.java.lang.Boolean
isCommitted()
Gets the committed.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
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
-
getDescription
public java.lang.String getDescription()
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
-
getAccountId
public java.lang.String getAccountId()
Gets the accountId. Enterprise account ID where this template is created.- Returns:
- the accountId
-
getVersion
public java.lang.String getVersion()
Gets the version. Template version.- Returns:
- the version
-
isCommitted
public java.lang.Boolean isCommitted()
Gets the committed. Committed status of the template version.- Returns:
- the committed
-
getPolicy
public TemplatePolicy getPolicy()
Gets the policy. The core set of properties associated with the template's policy object.- Returns:
- the policy
-
getState
public java.lang.String getState()
Gets the state. State of policy template.- Returns:
- the state
-
getId
public java.lang.String getId()
Gets the id. The policy template ID.- Returns:
- the id
-
getHref
public java.lang.String getHref()
Gets the href. The href URL that links to the policy templates API by policy template ID.- Returns:
- the href
-
getCreatedAt
public java.util.Date getCreatedAt()
Gets the createdAt. The UTC timestamp when the policy template was created.- Returns:
- the createdAt
-
getCreatedById
public java.lang.String getCreatedById()
Gets the createdById. The IAM ID of the entity that created the policy template.- Returns:
- the createdById
-
getLastModifiedAt
public java.util.Date getLastModifiedAt()
Gets the lastModifiedAt. The UTC timestamp when the policy template was last modified.- Returns:
- the lastModifiedAt
-
getLastModifiedById
public java.lang.String getLastModifiedById()
Gets the lastModifiedById. The IAM ID of the entity that last modified the policy template.- Returns:
- the lastModifiedById
-
getCounts
public TemplateCountData getCounts()
Gets the counts. policy template count details.- Returns:
- the counts
-
-