Class TrustedProfileTemplateClaimRule.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.TrustedProfileTemplateClaimRule.Builder
-
- Enclosing class:
- TrustedProfileTemplateClaimRule
public static class TrustedProfileTemplateClaimRule.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String type, java.util.List<ProfileClaimRuleConditions> conditions)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustedProfileTemplateClaimRule.BuilderaddConditions(ProfileClaimRuleConditions conditions)Adds a new element to conditions.TrustedProfileTemplateClaimRulebuild()Builds a TrustedProfileTemplateClaimRule.TrustedProfileTemplateClaimRule.Builderconditions(java.util.List<ProfileClaimRuleConditions> conditions)Set the conditions.TrustedProfileTemplateClaimRule.Builderexpiration(long expiration)Set the expiration.TrustedProfileTemplateClaimRule.Buildername(java.lang.String name)Set the name.TrustedProfileTemplateClaimRule.BuilderrealmName(java.lang.String realmName)Set the realmName.TrustedProfileTemplateClaimRule.Buildertype(java.lang.String type)Set the type.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String type, java.util.List<ProfileClaimRuleConditions> conditions)Instantiates a new builder with required properties.- Parameters:
type- the typeconditions- the conditions
-
-
Method Detail
-
build
public TrustedProfileTemplateClaimRule build()
Builds a TrustedProfileTemplateClaimRule.- Returns:
- the new TrustedProfileTemplateClaimRule instance
-
addConditions
public TrustedProfileTemplateClaimRule.Builder addConditions(ProfileClaimRuleConditions conditions)
Adds a new element to conditions.- Parameters:
conditions- the new element to be added- Returns:
- the TrustedProfileTemplateClaimRule builder
-
name
public TrustedProfileTemplateClaimRule.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the TrustedProfileTemplateClaimRule builder
-
type
public TrustedProfileTemplateClaimRule.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the TrustedProfileTemplateClaimRule builder
-
realmName
public TrustedProfileTemplateClaimRule.Builder realmName(java.lang.String realmName)
Set the realmName.- Parameters:
realmName- the realmName- Returns:
- the TrustedProfileTemplateClaimRule builder
-
expiration
public TrustedProfileTemplateClaimRule.Builder expiration(long expiration)
Set the expiration.- Parameters:
expiration- the expiration- Returns:
- the TrustedProfileTemplateClaimRule builder
-
conditions
public TrustedProfileTemplateClaimRule.Builder conditions(java.util.List<ProfileClaimRuleConditions> conditions)
Set the conditions. Existing conditions will be replaced.- Parameters:
conditions- the conditions- Returns:
- the TrustedProfileTemplateClaimRule builder
-
-