Class ProfileIdentityResponse

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ProfileIdentityResponse
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    ProfileIdentityResponse.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ProfileIdentityResponse.Type
      Type 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.String getDescription()
      Gets the description.
      java.lang.String getIamId()
      Gets the iamId.
      java.lang.String getIdentifier()
      Gets the identifier.
      java.lang.String getType()
      Gets the type.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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