Interface InstanceIdentity.Builder

    • Method Detail

      • document

        InstanceIdentity.Builder document​(String document)

        A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.

        Parameters:
        document - A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • signature

        InstanceIdentity.Builder signature​(String signature)

        A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.

        Parameters:
        signature - A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.