Interface GetRevisionResponse.Builder

    • Method Detail

      • arn

        GetRevisionResponse.Builder arn​(String arn)

        The ARN for the revision.

        Parameters:
        arn - The ARN for the revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • comment

        GetRevisionResponse.Builder comment​(String comment)

        An optional comment about the revision.

        Parameters:
        comment - An optional comment about the revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetRevisionResponse.Builder createdAt​(Instant createdAt)

        The date and time that the revision was created, in ISO 8601 format.

        Parameters:
        createdAt - The date and time that the revision was created, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSetId

        GetRevisionResponse.Builder dataSetId​(String dataSetId)

        The unique identifier for the data set associated with the data set revision.

        Parameters:
        dataSetId - The unique identifier for the data set associated with the data set revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finalized

        GetRevisionResponse.Builder finalized​(Boolean finalized)

        To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

        Parameters:
        finalized - To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        GetRevisionResponse.Builder id​(String id)

        The unique identifier for the revision.

        Parameters:
        id - The unique identifier for the revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceId

        GetRevisionResponse.Builder sourceId​(String sourceId)

        The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.

        Parameters:
        sourceId - The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetRevisionResponse.Builder tags​(Map<String,​String> tags)

        The tags for the revision.

        Parameters:
        tags - The tags for the revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetRevisionResponse.Builder updatedAt​(Instant updatedAt)

        The date and time that the revision was last updated, in ISO 8601 format.

        Parameters:
        updatedAt - The date and time that the revision was last updated, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revocationComment

        GetRevisionResponse.Builder revocationComment​(String revocationComment)

        A required comment to inform subscribers of the reason their access to the revision was revoked.

        Parameters:
        revocationComment - A required comment to inform subscribers of the reason their access to the revision was revoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revoked

        GetRevisionResponse.Builder revoked​(Boolean revoked)

        A status indicating that subscribers' access to the revision was revoked.

        Parameters:
        revoked - A status indicating that subscribers' access to the revision was revoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revokedAt

        GetRevisionResponse.Builder revokedAt​(Instant revokedAt)

        The date and time that the revision was revoked, in ISO 8601 format.

        Parameters:
        revokedAt - The date and time that the revision was revoked, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.