Class ProfileIdentityResponse
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ProfileIdentityResponse
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ProfileIdentityResponse extends com.ibm.cloud.sdk.core.service.model.GenericModelProfileIdentityResponse.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProfileIdentityResponse.TypeType of the identity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAccounts()Gets the accounts.java.lang.StringgetDescription()Gets the description.java.lang.StringgetIamId()Gets the iamId.java.lang.StringgetIdentifier()Gets the identifier.java.lang.StringgetType()Gets the type.
-
-
-
Method Detail
-
getIamId
public java.lang.String getIamId()
Gets the iamId. IAM ID of the identity.- Returns:
- the iamId
-
getIdentifier
public java.lang.String getIdentifier()
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
-
getType
public java.lang.String getType()
Gets the type. Type of the identity.- Returns:
- the type
-
getAccounts
public java.util.List<java.lang.String> getAccounts()
Gets the accounts. Only valid for the type user. Accounts from which a user can assume the trusted profile.- Returns:
- the accounts
-
getDescription
public java.lang.String getDescription()
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
-
-