Class CreateTagOptions

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

    public class CreateTagOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createTag options.
    • Method Detail

      • tagNames

        public java.util.List<java.lang.String> tagNames()
        Gets the tagNames. An array of tag names to create.
        Returns:
        the tagNames
      • xRequestId

        public java.lang.String xRequestId()
        Gets the xRequestId. An alphanumeric string that is used to trace the request. The value may include ASCII alphanumerics and any of following segment separators: space ( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to 1024 bytes. The value is considered invalid and must be ignored if that value includes any other character or is longer than 1024 bytes or is fewer than 8 characters. If not specified or invalid, it is automatically replaced by a random (version 4) UUID.
        Returns:
        the xRequestId
      • xCorrelationId

        public java.lang.String xCorrelationId()
        Gets the xCorrelationId. An alphanumeric string that is used to trace the request as a part of a larger context: the same value is used for downstream requests and retries of those requests. The value may include ASCII alphanumerics and any of following segment separators: space ( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to 1024 bytes. The value is considered invalid and must be ignored if that value includes any other character or is longer than 1024 bytes or is fewer than 8 characters. If not specified or invalid, it is automatically replaced by a random (version 4) UUID.
        Returns:
        the xCorrelationId
      • accountId

        public java.lang.String accountId()
        Gets the accountId. The ID of the billing account where the tag must be created.
        Returns:
        the accountId
      • tagType

        public java.lang.String tagType()
        Gets the tagType. The type of the tags you want to create. The only allowed value is `access`.
        Returns:
        the tagType