JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.qldb.model

Class GetBlockRequest

    • Constructor Detail

      • GetBlockRequest

        public GetBlockRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the ledger.

        Parameters:
        name - The name of the ledger.
      • getName

        public String getName()

        The name of the ledger.

        Returns:
        The name of the ledger.
      • withName

        public GetBlockRequest withName(String name)

        The name of the ledger.

        Parameters:
        name - The name of the ledger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBlockAddress

        public void setBlockAddress(ValueHolder blockAddress)

        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Parameters:
        blockAddress - The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

      • getBlockAddress

        public ValueHolder getBlockAddress()

        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Returns:
        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

      • withBlockAddress

        public GetBlockRequest withBlockAddress(ValueHolder blockAddress)

        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Parameters:
        blockAddress - The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDigestTipAddress

        public void setDigestTipAddress(ValueHolder digestTipAddress)

        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Parameters:
        digestTipAddress - The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

      • getDigestTipAddress

        public ValueHolder getDigestTipAddress()

        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Returns:
        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

      • withDigestTipAddress

        public GetBlockRequest withDigestTipAddress(ValueHolder digestTipAddress)

        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Parameters:
        digestTipAddress - The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /