Class GetDocumentRequest

    • Method Detail

      • name

        public final String name()

        The name of the SSM document.

        Returns:
        The name of the SSM document.
      • versionName

        public final String versionName()

        An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document and can't be changed.

        Returns:
        An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document and can't be changed.
      • documentVersion

        public final String documentVersion()

        The document version for which you want information.

        Returns:
        The document version for which you want information.
      • documentFormat

        public final DocumentFormat documentFormat()

        Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.

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

        Returns:
        Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
        See Also:
        DocumentFormat
      • documentFormatAsString

        public final String documentFormatAsString()

        Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.

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

        Returns:
        Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
        See Also:
        DocumentFormat
      • 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