Class GetArtifactOptions

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

    public class GetArtifactOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The getArtifact options.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String accept()
      Gets the accept.
      java.lang.String account()
      Gets the account.
      java.lang.String artifactId()
      Gets the artifactId.
      GetArtifactOptions.Builder newBuilder()
      New builder.
      java.lang.String objectId()
      Gets the objectId.
      • 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

      • objectId

        public java.lang.String objectId()
        Gets the objectId. The object's unique ID.
        Returns:
        the objectId
      • artifactId

        public java.lang.String artifactId()
        Gets the artifactId. The artifact's ID.
        Returns:
        the artifactId
      • accept

        public java.lang.String accept()
        Gets the accept. The type of the response: *_/_*.
        Returns:
        the accept
      • account

        public java.lang.String account()
        Gets the account. This changes the scope of the request regardless of the authorization header. Example scopes are `account` and `global`. `account=global` is reqired if operating with a service ID that has a global admin policy, for example `GET /?account=global`.
        Returns:
        the account