Class CreateAccountOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateAccountOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createAccount options.
    • Method Detail

      • parent

        public java.lang.String parent()
        Gets the parent. The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself.
        Returns:
        the parent
      • name

        public java.lang.String name()
        Gets the name. The name of the account. This field must have 3 - 60 characters.
        Returns:
        the name
      • ownerIamId

        public java.lang.String ownerIamId()
        Gets the ownerIamId. The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist.
        Returns:
        the ownerIamId
      • traits

        public CreateAccountRequestTraits traits()
        Gets the traits. The traits object can be used to set properties on child accounts of an enterprise. You can pass a field to opt-out of the default multi-factor authentication setting or enable enterprise-managed IAM when creating a child account in the enterprise. This is an optional field.
        Returns:
        the traits
      • options

        public CreateAccountRequestOptions options()
        Gets the options. The options object can be used to set properties on child accounts of an enterprise. You can pass a field to to create IAM service id with IAM api keyg when creating a child account in the enterprise. This is an optional field.
        Returns:
        the options