Class CreateProductRequest

    • Method Detail

      • acceptLanguage

        public final String acceptLanguage()

        The language code.

        • jp - Japanese

        • zh - Chinese

        Returns:
        The language code.

        • jp - Japanese

        • zh - Chinese

      • name

        public final String name()

        The name of the product.

        Returns:
        The name of the product.
      • owner

        public final String owner()

        The owner of the product.

        Returns:
        The owner of the product.
      • description

        public final String description()

        The description of the product.

        Returns:
        The description of the product.
      • distributor

        public final String distributor()

        The distributor of the product.

        Returns:
        The distributor of the product.
      • supportDescription

        public final String supportDescription()

        The support information about the product.

        Returns:
        The support information about the product.
      • supportEmail

        public final String supportEmail()

        The contact email for product support.

        Returns:
        The contact email for product support.
      • supportUrl

        public final String supportUrl()

        The contact URL for product support.

        ^https?:\/\// / is the pattern used to validate SupportUrl.

        Returns:
        The contact URL for product support.

        ^https?:\/\// / is the pattern used to validate SupportUrl.

      • productTypeAsString

        public final String productTypeAsString()

        The type of product.

        If the service returns an enum value that is not available in the current SDK version, productType will return ProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from productTypeAsString().

        Returns:
        The type of product.
        See Also:
        ProductType
      • hasTags

        public final boolean hasTags()
        For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tags

        public final List<Tag> tags()

        One or more tags.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTags() method.

        Returns:
        One or more tags.
      • provisioningArtifactParameters

        public final ProvisioningArtifactProperties provisioningArtifactParameters()

        The configuration of the provisioning artifact.

        Returns:
        The configuration of the provisioning artifact.
      • idempotencyToken

        public final String idempotencyToken()

        A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

        Returns:
        A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
      • sourceConnection

        public final SourceConnection sourceConnection()

        Specifies connection details for the created product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

        • Type

        • ConnectionParamters

        Returns:
        Specifies connection details for the created product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

        • Type

        • ConnectionParamters

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object