Class ServiceId

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

    public class ServiceId
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Response body format for service ID V1 REST requests.
    • Method Detail

      • getContext

        public ResponseContext getContext()
        Gets the context. Context with key properties for problem determination.
        Returns:
        the context
      • getId

        public java.lang.String getId()
        Gets the id. Unique identifier of this Service Id.
        Returns:
        the id
      • getIamId

        public java.lang.String getIamId()
        Gets the iamId. Cloud wide identifier for identities of this service ID.
        Returns:
        the iamId
      • getEntityTag

        public java.lang.String getEntityTag()
        Gets the entityTag. Version of the service ID details object. You need to specify this value when updating the service ID to avoid stale updates.
        Returns:
        the entityTag
      • getCrn

        public java.lang.String getCrn()
        Gets the crn. Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::serviceid:1234-5678-9012'.
        Returns:
        the crn
      • isLocked

        public java.lang.Boolean isLocked()
        Gets the locked. The service ID cannot be changed if set to true.
        Returns:
        the locked
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Gets the createdAt. If set contains a date time string of the creation date in ISO format.
        Returns:
        the createdAt
      • getModifiedAt

        public java.util.Date getModifiedAt()
        Gets the modifiedAt. If set contains a date time string of the last modification date in ISO format.
        Returns:
        the modifiedAt
      • getAccountId

        public java.lang.String getAccountId()
        Gets the accountId. ID of the account the service ID belongs to.
        Returns:
        the accountId
      • getName

        public java.lang.String getName()
        Gets the name. Name of the Service Id. The name is not checked for uniqueness. Therefore multiple names with the same value can exist. Access is done via the UUID of the Service Id.
        Returns:
        the name
      • getDescription

        public java.lang.String getDescription()
        Gets the description. The optional description of the Service Id. The 'description' property is only available if a description was provided during a create of a Service Id.
        Returns:
        the description
      • getUniqueInstanceCrns

        public java.util.List<java.lang.String> getUniqueInstanceCrns()
        Gets the uniqueInstanceCrns. Optional list of CRNs (string array) which point to the services connected to the service ID.
        Returns:
        the uniqueInstanceCrns
      • getHistory

        public java.util.List<EnityHistoryRecord> getHistory()
        Gets the history. History of the Service ID.
        Returns:
        the history
      • getApikey

        public ApiKey getApikey()
        Gets the apikey. Response body format for API key V1 REST requests.
        Returns:
        the apikey
      • getActivity

        public Activity getActivity()
        Gets the activity.
        Returns:
        the activity