Class CreateAccountOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.enterprise_management.v1.model.CreateAccountOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateAccountOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createAccount options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAccountOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()Gets the name.CreateAccountOptions.BuildernewBuilder()New builder.CreateAccountRequestOptionsoptions()Gets the options.java.lang.StringownerIamId()Gets the ownerIamId.java.lang.Stringparent()Gets the parent.CreateAccountRequestTraitstraits()Gets the traits.
-
-
-
Method Detail
-
newBuilder
public CreateAccountOptions.Builder newBuilder()
New builder.- Returns:
- a CreateAccountOptions builder
-
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
-
-