Class UpdateAccountSettingsOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.UpdateAccountSettingsOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateAccountSettingsOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe updateAccountSettings options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateAccountSettingsOptions.BuilderBuilder.static interfaceUpdateAccountSettingsOptions.MfaDefines the MFA trait for the account.static interfaceUpdateAccountSettingsOptions.RestrictCreatePlatformApikeyDefines whether or not creating platform API keys is access controlled.static interfaceUpdateAccountSettingsOptions.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.StringaccountId()Gets the accountId.java.lang.StringallowedIpAddresses()Gets the allowedIpAddresses.java.lang.StringifMatch()Gets the ifMatch.java.lang.StringmaxSessionsPerIdentity()Gets the maxSessionsPerIdentity.java.lang.Stringmfa()Gets the mfa.UpdateAccountSettingsOptions.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 UpdateAccountSettingsOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateAccountSettingsOptions builder
-
ifMatch
public java.lang.String ifMatch()
Gets the ifMatch. Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.- Returns:
- the ifMatch
-
accountId
public java.lang.String accountId()
Gets the accountId. The id of the account to update the settings for.- Returns:
- the accountId
-
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 - only users assigned the 'User API key creator' role on the IAM Identity Service can create API keys, including the account owner * NOT_RESTRICTED - all members of an account can create platform API keys * 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. Value 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
-
-