Class UpdateAccountSettingsOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String ifMatch,
                       java.lang.String accountId)
        Instantiates a new builder with required properties.
        Parameters:
        ifMatch - the ifMatch
        accountId - the accountId
    • Method Detail

      • build

        public UpdateAccountSettingsOptions build()
        Builds a UpdateAccountSettingsOptions.
        Returns:
        the new UpdateAccountSettingsOptions instance
      • 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
      • 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