Class SetProfileIdentityOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.SetProfileIdentityOptions.Builder
-
- Enclosing class:
- SetProfileIdentityOptions
public static class SetProfileIdentityOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetProfileIdentityOptions.Builderaccounts(java.util.List<java.lang.String> accounts)Set the accounts.SetProfileIdentityOptions.BuilderaddAccounts(java.lang.String accounts)Adds a new element to accounts.SetProfileIdentityOptionsbuild()Builds a SetProfileIdentityOptions.SetProfileIdentityOptions.Builderdescription(java.lang.String description)Set the description.SetProfileIdentityOptions.Builderidentifier(java.lang.String identifier)Set the identifier.SetProfileIdentityOptions.BuilderidentityType(java.lang.String identityType)Set the identityType.SetProfileIdentityOptions.BuilderprofileId(java.lang.String profileId)Set the profileId.SetProfileIdentityOptions.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 identityType, java.lang.String identifier, java.lang.String type)Instantiates a new builder with required properties.- Parameters:
profileId- the profileIdidentityType- the identityTypeidentifier- the identifiertype- the type
-
-
Method Detail
-
build
public SetProfileIdentityOptions build()
Builds a SetProfileIdentityOptions.- Returns:
- the new SetProfileIdentityOptions instance
-
addAccounts
public SetProfileIdentityOptions.Builder addAccounts(java.lang.String accounts)
Adds a new element to accounts.- Parameters:
accounts- the new element to be added- Returns:
- the SetProfileIdentityOptions builder
-
profileId
public SetProfileIdentityOptions.Builder profileId(java.lang.String profileId)
Set the profileId.- Parameters:
profileId- the profileId- Returns:
- the SetProfileIdentityOptions builder
-
identityType
public SetProfileIdentityOptions.Builder identityType(java.lang.String identityType)
Set the identityType.- Parameters:
identityType- the identityType- Returns:
- the SetProfileIdentityOptions builder
-
identifier
public SetProfileIdentityOptions.Builder identifier(java.lang.String identifier)
Set the identifier.- Parameters:
identifier- the identifier- Returns:
- the SetProfileIdentityOptions builder
-
type
public SetProfileIdentityOptions.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the SetProfileIdentityOptions builder
-
accounts
public SetProfileIdentityOptions.Builder accounts(java.util.List<java.lang.String> accounts)
Set the accounts. Existing accounts will be replaced.- Parameters:
accounts- the accounts- Returns:
- the SetProfileIdentityOptions builder
-
description
public SetProfileIdentityOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the SetProfileIdentityOptions builder
-
-