Class AccountSettingsComponent
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.AccountSettingsComponent
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AccountSettingsComponent extends com.ibm.cloud.sdk.core.service.model.GenericModelAccountSettingsComponent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountSettingsComponent.BuilderBuilder.static interfaceAccountSettingsComponent.MfaDefines the MFA trait for the account.static interfaceAccountSettingsComponent.RestrictCreatePlatformApikeyDefines whether or not creating platform API keys is access controlled.static interfaceAccountSettingsComponent.RestrictCreateServiceIdDefines whether or not creating a service ID is access controlled.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringallowedIpAddresses()Gets the allowedIpAddresses.java.lang.StringmaxSessionsPerIdentity()Gets the maxSessionsPerIdentity.java.lang.Stringmfa()Gets the mfa.AccountSettingsComponent.BuildernewBuilder()New builder.java.lang.StringrestrictCreatePlatformApikey()Gets the restrictCreatePlatformApikey.java.lang.StringrestrictCreateServiceId()Gets the restrictCreateServiceId.java.lang.StringsessionExpirationInSeconds()Gets the sessionExpirationInSeconds.java.lang.StringsessionInvalidationInSeconds()Gets the sessionInvalidationInSeconds.java.lang.StringsystemAccessTokenExpirationInSeconds()Gets the systemAccessTokenExpirationInSeconds.java.lang.StringsystemRefreshTokenExpirationInSeconds()Gets the systemRefreshTokenExpirationInSeconds.java.util.List<AccountSettingsUserMFA>userMfa()Gets the userMfa.
-
-
-
Method Detail
-
newBuilder
public AccountSettingsComponent.Builder newBuilder()
New builder.- Returns:
- a AccountSettingsComponent builder
-
restrictCreateServiceId
public java.lang.String restrictCreateServiceId()
Gets the restrictCreateServiceId. Defines whether or not creating a service ID is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.- Returns:
- the restrictCreateServiceId
-
restrictCreatePlatformApikey
public java.lang.String restrictCreatePlatformApikey()
Gets the restrictCreatePlatformApikey. Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.- Returns:
- the restrictCreatePlatformApikey
-
allowedIpAddresses
public java.lang.String allowedIpAddresses()
Gets the allowedIpAddresses. Defines the IP addresses and subnets from which IAM tokens can be created for the account.- Returns:
- the allowedIpAddresses
-
mfa
public java.lang.String mfa()
Gets the mfa. Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.- Returns:
- the mfa
-
userMfa
public java.util.List<AccountSettingsUserMFA> userMfa()
Gets the userMfa. List of users that are exempted from the MFA requirement of the account.- Returns:
- the userMfa
-
sessionExpirationInSeconds
public java.lang.String sessionExpirationInSeconds()
Gets the sessionExpirationInSeconds. Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.- Returns:
- the sessionExpirationInSeconds
-
sessionInvalidationInSeconds
public java.lang.String sessionInvalidationInSeconds()
Gets the sessionInvalidationInSeconds. Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.- Returns:
- the sessionInvalidationInSeconds
-
maxSessionsPerIdentity
public java.lang.String maxSessionsPerIdentity()
Gets the maxSessionsPerIdentity. Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.- Returns:
- the maxSessionsPerIdentity
-
systemAccessTokenExpirationInSeconds
public java.lang.String systemAccessTokenExpirationInSeconds()
Gets the systemAccessTokenExpirationInSeconds. Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.- Returns:
- the systemAccessTokenExpirationInSeconds
-
systemRefreshTokenExpirationInSeconds
public java.lang.String systemRefreshTokenExpirationInSeconds()
Gets the systemRefreshTokenExpirationInSeconds. Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.- Returns:
- the systemRefreshTokenExpirationInSeconds
-
-