Class AccountSettingsAssignedTemplatesSection
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.AccountSettingsAssignedTemplatesSection
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AccountSettingsAssignedTemplatesSection extends com.ibm.cloud.sdk.core.service.model.GenericModel
AccountSettingsAssignedTemplatesSection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AccountSettingsAssignedTemplatesSection.Mfa
Defines the MFA requirement for the user.static interface
AccountSettingsAssignedTemplatesSection.RestrictCreatePlatformApikey
Defines whether or not creating platform API keys is access controlled.static interface
AccountSettingsAssignedTemplatesSection.RestrictCreateServiceId
Defines 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.String
getAllowedIpAddresses()
Gets the allowedIpAddresses.java.lang.String
getMaxSessionsPerIdentity()
Gets the maxSessionsPerIdentity.java.lang.String
getMfa()
Gets the mfa.java.lang.String
getRestrictCreatePlatformApikey()
Gets the restrictCreatePlatformApikey.java.lang.String
getRestrictCreateServiceId()
Gets the restrictCreateServiceId.java.lang.String
getSessionExpirationInSeconds()
Gets the sessionExpirationInSeconds.java.lang.String
getSessionInvalidationInSeconds()
Gets the sessionInvalidationInSeconds.java.lang.String
getSystemAccessTokenExpirationInSeconds()
Gets the systemAccessTokenExpirationInSeconds.java.lang.String
getSystemRefreshTokenExpirationInSeconds()
Gets the systemRefreshTokenExpirationInSeconds.java.lang.String
getTemplateId()
Gets the templateId.java.lang.String
getTemplateName()
Gets the templateName.java.lang.Long
getTemplateVersion()
Gets the templateVersion.java.util.List<EffectiveAccountSettingsUserMFA>
getUserMfa()
Gets the userMfa.
-
-
-
Method Detail
-
getTemplateId
public java.lang.String getTemplateId()
Gets the templateId. Template Id.- Returns:
- the templateId
-
getTemplateVersion
public java.lang.Long getTemplateVersion()
Gets the templateVersion. Template version.- Returns:
- the templateVersion
-
getTemplateName
public java.lang.String getTemplateName()
Gets the templateName. Template name.- Returns:
- the templateName
-
getRestrictCreateServiceId
public java.lang.String getRestrictCreateServiceId()
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
-
getRestrictCreatePlatformApikey
public java.lang.String getRestrictCreatePlatformApikey()
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
-
getAllowedIpAddresses
public java.lang.String getAllowedIpAddresses()
Gets the allowedIpAddresses. Defines the IP addresses and subnets from which IAM tokens can be created for the account.- Returns:
- the allowedIpAddresses
-
getMfa
public java.lang.String getMfa()
Gets the mfa. Defines the MFA requirement for the user. 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
-
getUserMfa
public java.util.List<EffectiveAccountSettingsUserMFA> getUserMfa()
Gets the userMfa. List of users that are exempted from the MFA requirement of the account.- Returns:
- the userMfa
-
getSessionExpirationInSeconds
public java.lang.String getSessionExpirationInSeconds()
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
-
getSessionInvalidationInSeconds
public java.lang.String getSessionInvalidationInSeconds()
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
-
getMaxSessionsPerIdentity
public java.lang.String getMaxSessionsPerIdentity()
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
-
getSystemAccessTokenExpirationInSeconds
public java.lang.String getSystemAccessTokenExpirationInSeconds()
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
-
getSystemRefreshTokenExpirationInSeconds
public java.lang.String getSystemRefreshTokenExpirationInSeconds()
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
-
-