Class UpdateClaimRuleOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class UpdateClaimRuleOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The updateClaimRule options.
    • Method Detail

      • profileId

        public java.lang.String profileId()
        Gets the profileId. ID of the trusted profile.
        Returns:
        the profileId
      • ruleId

        public java.lang.String ruleId()
        Gets the ruleId. ID of the claim rule to update.
        Returns:
        the ruleId
      • ifMatch

        public java.lang.String ifMatch()
        Gets the ifMatch. Version of the claim rule to be updated. Specify the version that you retrived when reading list of claim rules. This value helps to identify any parallel usage of claim rule. Pass * to indicate to update any version available. This might result in stale updates.
        Returns:
        the ifMatch
      • type

        public java.lang.String type()
        Gets the type. Type of the claim rule, either 'Profile-SAML' or 'Profile-CR'.
        Returns:
        the type
      • conditions

        public java.util.List<ProfileClaimRuleConditions> conditions()
        Gets the conditions. Conditions of this claim rule.
        Returns:
        the conditions
      • context

        public ResponseContext context()
        Gets the context. Context with key properties for problem determination.
        Returns:
        the context
      • name

        public java.lang.String name()
        Gets the name. Name of the claim rule to be created or updated.
        Returns:
        the name
      • realmName

        public java.lang.String realmName()
        Gets the realmName. The realm name of the Idp this claim rule applies to. This field is required only if the type is specified as 'Profile-SAML'.
        Returns:
        the realmName
      • crType

        public java.lang.String crType()
        Gets the crType. The compute resource type the rule applies to, required only if type is specified as 'Profile-CR'. Valid values are VSI, IKS_SA, ROKS_SA.
        Returns:
        the crType
      • expiration

        public java.lang.Long expiration()
        Gets the expiration. Session expiration in seconds, only required if type is 'Profile-SAML'.
        Returns:
        the expiration