Class UpdateClaimRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.UpdateClaimRuleOptions.Builder
-
- Enclosing class:
- UpdateClaimRuleOptions
public static class UpdateClaimRuleOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String profileId, java.lang.String ruleId, java.lang.String ifMatch, 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 UpdateClaimRuleOptions.BuilderaddConditions(ProfileClaimRuleConditions conditions)Adds a new element to conditions.UpdateClaimRuleOptionsbuild()Builds a UpdateClaimRuleOptions.UpdateClaimRuleOptions.Builderconditions(java.util.List<ProfileClaimRuleConditions> conditions)Set the conditions.UpdateClaimRuleOptions.Buildercontext(ResponseContext context)Set the context.UpdateClaimRuleOptions.BuildercrType(java.lang.String crType)Set the crType.UpdateClaimRuleOptions.Builderexpiration(long expiration)Set the expiration.UpdateClaimRuleOptions.BuilderifMatch(java.lang.String ifMatch)Set the ifMatch.UpdateClaimRuleOptions.Buildername(java.lang.String name)Set the name.UpdateClaimRuleOptions.BuilderprofileId(java.lang.String profileId)Set the profileId.UpdateClaimRuleOptions.BuilderrealmName(java.lang.String realmName)Set the realmName.UpdateClaimRuleOptions.BuilderruleId(java.lang.String ruleId)Set the ruleId.UpdateClaimRuleOptions.Buildertype(java.lang.String type)Set the type.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String profileId, java.lang.String ruleId, java.lang.String ifMatch, java.lang.String type, java.util.List<ProfileClaimRuleConditions> conditions)Instantiates a new builder with required properties.- Parameters:
profileId- the profileIdruleId- the ruleIdifMatch- the ifMatchtype- the typeconditions- the conditions
-
-
Method Detail
-
build
public UpdateClaimRuleOptions build()
Builds a UpdateClaimRuleOptions.- Returns:
- the new UpdateClaimRuleOptions instance
-
addConditions
public UpdateClaimRuleOptions.Builder addConditions(ProfileClaimRuleConditions conditions)
Adds a new element to conditions.- Parameters:
conditions- the new element to be added- Returns:
- the UpdateClaimRuleOptions builder
-
profileId
public UpdateClaimRuleOptions.Builder profileId(java.lang.String profileId)
Set the profileId.- Parameters:
profileId- the profileId- Returns:
- the UpdateClaimRuleOptions builder
-
ruleId
public UpdateClaimRuleOptions.Builder ruleId(java.lang.String ruleId)
Set the ruleId.- Parameters:
ruleId- the ruleId- Returns:
- the UpdateClaimRuleOptions builder
-
ifMatch
public UpdateClaimRuleOptions.Builder ifMatch(java.lang.String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the UpdateClaimRuleOptions builder
-
type
public UpdateClaimRuleOptions.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the UpdateClaimRuleOptions builder
-
conditions
public UpdateClaimRuleOptions.Builder conditions(java.util.List<ProfileClaimRuleConditions> conditions)
Set the conditions. Existing conditions will be replaced.- Parameters:
conditions- the conditions- Returns:
- the UpdateClaimRuleOptions builder
-
context
public UpdateClaimRuleOptions.Builder context(ResponseContext context)
Set the context.- Parameters:
context- the context- Returns:
- the UpdateClaimRuleOptions builder
-
name
public UpdateClaimRuleOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the UpdateClaimRuleOptions builder
-
realmName
public UpdateClaimRuleOptions.Builder realmName(java.lang.String realmName)
Set the realmName.- Parameters:
realmName- the realmName- Returns:
- the UpdateClaimRuleOptions builder
-
crType
public UpdateClaimRuleOptions.Builder crType(java.lang.String crType)
Set the crType.- Parameters:
crType- the crType- Returns:
- the UpdateClaimRuleOptions builder
-
expiration
public UpdateClaimRuleOptions.Builder expiration(long expiration)
Set the expiration.- Parameters:
expiration- the expiration- Returns:
- the UpdateClaimRuleOptions builder
-
-