Class CreateClaimRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.CreateClaimRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateClaimRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createClaimRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateClaimRuleOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ProfileClaimRuleConditions>conditions()Gets the conditions.ResponseContextcontext()Gets the context.java.lang.StringcrType()Gets the crType.java.lang.Longexpiration()Gets the expiration.java.lang.Stringname()Gets the name.CreateClaimRuleOptions.BuildernewBuilder()New builder.java.lang.StringprofileId()Gets the profileId.java.lang.StringrealmName()Gets the realmName.java.lang.Stringtype()Gets the type.
-
-
-
Method Detail
-
newBuilder
public CreateClaimRuleOptions.Builder newBuilder()
New builder.- Returns:
- a CreateClaimRuleOptions builder
-
profileId
public java.lang.String profileId()
Gets the profileId. ID of the trusted profile to create a claim rule.- Returns:
- the profileId
-
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
-
-