Interface GetDocumentVersionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetDocumentVersionRequest.Builder,GetDocumentVersionRequest>, SdkBuilder<GetDocumentVersionRequest.Builder,GetDocumentVersionRequest>, SdkPojo, SdkRequest.Builder, WorkDocsRequest.Builder
Enclosing class:
GetDocumentVersionRequest

public static interface GetDocumentVersionRequest.Builder extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentVersionRequest.Builder,GetDocumentVersionRequest>
  • Method Details

    • authenticationToken

      GetDocumentVersionRequest.Builder authenticationToken(String authenticationToken)

      Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

      Parameters:
      authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documentId

      GetDocumentVersionRequest.Builder documentId(String documentId)

      The ID of the document.

      Parameters:
      documentId - The ID of the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      The version ID of the document.

      Parameters:
      versionId - The version ID of the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.

      Parameters:
      fields - A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeCustomMetadata

      GetDocumentVersionRequest.Builder includeCustomMetadata(Boolean includeCustomMetadata)

      Set this to TRUE to include custom metadata in the response.

      Parameters:
      includeCustomMetadata - Set this to TRUE to include custom metadata in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetDocumentVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.