Class ProfileIdentityRequest.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ProfileIdentityRequest.Builder
-
- Enclosing class:
- ProfileIdentityRequest
public static class ProfileIdentityRequest.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileIdentityRequest.Builderaccounts(java.util.List<java.lang.String> accounts)Set the accounts.ProfileIdentityRequest.BuilderaddAccounts(java.lang.String accounts)Adds a new element to accounts.ProfileIdentityRequestbuild()Builds a ProfileIdentityRequest.ProfileIdentityRequest.Builderdescription(java.lang.String description)Set the description.ProfileIdentityRequest.Builderidentifier(java.lang.String identifier)Set the identifier.ProfileIdentityRequest.Buildertype(java.lang.String type)Set the type.
-
-
-
Method Detail
-
build
public ProfileIdentityRequest build()
Builds a ProfileIdentityRequest.- Returns:
- the new ProfileIdentityRequest instance
-
addAccounts
public ProfileIdentityRequest.Builder addAccounts(java.lang.String accounts)
Adds a new element to accounts.- Parameters:
accounts- the new element to be added- Returns:
- the ProfileIdentityRequest builder
-
identifier
public ProfileIdentityRequest.Builder identifier(java.lang.String identifier)
Set the identifier.- Parameters:
identifier- the identifier- Returns:
- the ProfileIdentityRequest builder
-
type
public ProfileIdentityRequest.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the ProfileIdentityRequest builder
-
accounts
public ProfileIdentityRequest.Builder accounts(java.util.List<java.lang.String> accounts)
Set the accounts. Existing accounts will be replaced.- Parameters:
accounts- the accounts- Returns:
- the ProfileIdentityRequest builder
-
description
public ProfileIdentityRequest.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the ProfileIdentityRequest builder
-
-