Class CreateAccountRequestTraits
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.enterprise_management.v1.model.CreateAccountRequestTraits
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateAccountRequestTraits extends com.ibm.cloud.sdk.core.service.model.GenericModelThe 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAccountRequestTraits.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanenterpriseIamManaged()Gets the enterpriseIamManaged.java.lang.Stringmfa()Gets the mfa.CreateAccountRequestTraits.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public CreateAccountRequestTraits.Builder newBuilder()
New builder.- Returns:
- a CreateAccountRequestTraits builder
-
mfa
public java.lang.String mfa()
Gets the mfa. By default MFA is set to `NONE_NO_ROPC` on a child account, which disables CLI logins with only a password. To opt out, pass the traits object with the mfa field set to empty string. This is an optional field.- Returns:
- the mfa
-
enterpriseIamManaged
public java.lang.Boolean enterpriseIamManaged()
Gets the enterpriseIamManaged. By default enterprise-managed IAM is turned off for a newly created child account. You can enable this property by passing 'true' in this boolean field. Enabling enterprise-managed IAM allows the enterprise account to assign IAM resources, like access groups, trusted profiles, and account settings, to the child account. This is an optional field.- Returns:
- the enterpriseIamManaged
-
-