Class UpdateAccountSettingsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.UpdateAccountSettingsOptions.Builder
-
- Enclosing class:
- UpdateAccountSettingsOptions
public static class UpdateAccountSettingsOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAccountSettingsOptions.BuilderaccountId(java.lang.String accountId)Set the accountId.UpdateAccountSettingsOptions.BuilderaddUserMfa(AccountSettingsUserMFA userMfa)Adds a new element to userMfa.UpdateAccountSettingsOptions.BuilderallowedIpAddresses(java.lang.String allowedIpAddresses)Set the allowedIpAddresses.UpdateAccountSettingsOptionsbuild()Builds a UpdateAccountSettingsOptions.UpdateAccountSettingsOptions.BuilderifMatch(java.lang.String ifMatch)Set the ifMatch.UpdateAccountSettingsOptions.BuildermaxSessionsPerIdentity(java.lang.String maxSessionsPerIdentity)Set the maxSessionsPerIdentity.UpdateAccountSettingsOptions.Buildermfa(java.lang.String mfa)Set the mfa.UpdateAccountSettingsOptions.BuilderrestrictCreatePlatformApikey(java.lang.String restrictCreatePlatformApikey)Set the restrictCreatePlatformApikey.UpdateAccountSettingsOptions.BuilderrestrictCreateServiceId(java.lang.String restrictCreateServiceId)Set the restrictCreateServiceId.UpdateAccountSettingsOptions.BuildersessionExpirationInSeconds(java.lang.String sessionExpirationInSeconds)Set the sessionExpirationInSeconds.UpdateAccountSettingsOptions.BuildersessionInvalidationInSeconds(java.lang.String sessionInvalidationInSeconds)Set the sessionInvalidationInSeconds.UpdateAccountSettingsOptions.BuildersystemAccessTokenExpirationInSeconds(java.lang.String systemAccessTokenExpirationInSeconds)Set the systemAccessTokenExpirationInSeconds.UpdateAccountSettingsOptions.BuildersystemRefreshTokenExpirationInSeconds(java.lang.String systemRefreshTokenExpirationInSeconds)Set the systemRefreshTokenExpirationInSeconds.UpdateAccountSettingsOptions.BuilderuserMfa(java.util.List<AccountSettingsUserMFA> userMfa)Set the userMfa.
-
-
-
Method Detail
-
build
public UpdateAccountSettingsOptions build()
Builds a UpdateAccountSettingsOptions.- Returns:
- the new UpdateAccountSettingsOptions instance
-
addUserMfa
public UpdateAccountSettingsOptions.Builder addUserMfa(AccountSettingsUserMFA userMfa)
Adds a new element to userMfa.- Parameters:
userMfa- the new element to be added- Returns:
- the UpdateAccountSettingsOptions builder
-
ifMatch
public UpdateAccountSettingsOptions.Builder ifMatch(java.lang.String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the UpdateAccountSettingsOptions builder
-
accountId
public UpdateAccountSettingsOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId- the accountId- Returns:
- the UpdateAccountSettingsOptions builder
-
restrictCreateServiceId
public UpdateAccountSettingsOptions.Builder restrictCreateServiceId(java.lang.String restrictCreateServiceId)
Set the restrictCreateServiceId.- Parameters:
restrictCreateServiceId- the restrictCreateServiceId- Returns:
- the UpdateAccountSettingsOptions builder
-
restrictCreatePlatformApikey
public UpdateAccountSettingsOptions.Builder restrictCreatePlatformApikey(java.lang.String restrictCreatePlatformApikey)
Set the restrictCreatePlatformApikey.- Parameters:
restrictCreatePlatformApikey- the restrictCreatePlatformApikey- Returns:
- the UpdateAccountSettingsOptions builder
-
allowedIpAddresses
public UpdateAccountSettingsOptions.Builder allowedIpAddresses(java.lang.String allowedIpAddresses)
Set the allowedIpAddresses.- Parameters:
allowedIpAddresses- the allowedIpAddresses- Returns:
- the UpdateAccountSettingsOptions builder
-
mfa
public UpdateAccountSettingsOptions.Builder mfa(java.lang.String mfa)
Set the mfa.- Parameters:
mfa- the mfa- Returns:
- the UpdateAccountSettingsOptions builder
-
userMfa
public UpdateAccountSettingsOptions.Builder userMfa(java.util.List<AccountSettingsUserMFA> userMfa)
Set the userMfa. Existing userMfa will be replaced.- Parameters:
userMfa- the userMfa- Returns:
- the UpdateAccountSettingsOptions builder
-
sessionExpirationInSeconds
public UpdateAccountSettingsOptions.Builder sessionExpirationInSeconds(java.lang.String sessionExpirationInSeconds)
Set the sessionExpirationInSeconds.- Parameters:
sessionExpirationInSeconds- the sessionExpirationInSeconds- Returns:
- the UpdateAccountSettingsOptions builder
-
sessionInvalidationInSeconds
public UpdateAccountSettingsOptions.Builder sessionInvalidationInSeconds(java.lang.String sessionInvalidationInSeconds)
Set the sessionInvalidationInSeconds.- Parameters:
sessionInvalidationInSeconds- the sessionInvalidationInSeconds- Returns:
- the UpdateAccountSettingsOptions builder
-
maxSessionsPerIdentity
public UpdateAccountSettingsOptions.Builder maxSessionsPerIdentity(java.lang.String maxSessionsPerIdentity)
Set the maxSessionsPerIdentity.- Parameters:
maxSessionsPerIdentity- the maxSessionsPerIdentity- Returns:
- the UpdateAccountSettingsOptions builder
-
systemAccessTokenExpirationInSeconds
public UpdateAccountSettingsOptions.Builder systemAccessTokenExpirationInSeconds(java.lang.String systemAccessTokenExpirationInSeconds)
Set the systemAccessTokenExpirationInSeconds.- Parameters:
systemAccessTokenExpirationInSeconds- the systemAccessTokenExpirationInSeconds- Returns:
- the UpdateAccountSettingsOptions builder
-
systemRefreshTokenExpirationInSeconds
public UpdateAccountSettingsOptions.Builder systemRefreshTokenExpirationInSeconds(java.lang.String systemRefreshTokenExpirationInSeconds)
Set the systemRefreshTokenExpirationInSeconds.- Parameters:
systemRefreshTokenExpirationInSeconds- the systemRefreshTokenExpirationInSeconds- Returns:
- the UpdateAccountSettingsOptions builder
-
-