Class ProfileIdentityRequest
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ProfileIdentityRequest
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ProfileIdentityRequest extends com.ibm.cloud.sdk.core.service.model.GenericModelProfileIdentityRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProfileIdentityRequest.BuilderBuilder.static interfaceProfileIdentityRequest.TypeType of the identity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>accounts()Gets the accounts.java.lang.Stringdescription()Gets the description.java.lang.Stringidentifier()Gets the identifier.ProfileIdentityRequest.BuildernewBuilder()New builder.java.lang.Stringtype()Gets the type.
-
-
-
Method Detail
-
newBuilder
public ProfileIdentityRequest.Builder newBuilder()
New builder.- Returns:
- a ProfileIdentityRequest builder
-
identifier
public java.lang.String identifier()
Gets the identifier. Identifier of the identity that can assume the trusted profiles. This can be a user identifier (IAM id), serviceid or crn. Internally it uses account id of the service id for the identifier 'serviceid' and for the identifier 'crn' it uses account id contained in the CRN.- Returns:
- the identifier
-
type
public java.lang.String type()
Gets the type. Type of the identity.- Returns:
- the type
-
accounts
public java.util.List<java.lang.String> accounts()
Gets the accounts. Only valid for the type user. Accounts from which a user can assume the trusted profile.- Returns:
- the accounts
-
description
public java.lang.String description()
Gets the description. Description of the identity that can assume the trusted profile. This is optional field for all the types of identities. When this field is not set for the identity type 'serviceid' then the description of the service id is used. Description is recommended for the identity type 'crn' E.g. 'Instance 1234 of IBM Cloud Service project'.- Returns:
- the description
-
-