Interface CreateUploadUrlResponse.Builder

    • Method Detail

      • codeArtifactId

        CreateUploadUrlResponse.Builder codeArtifactId​(String codeArtifactId)

        The identifier for the uploaded code resource.

        Parameters:
        codeArtifactId - The identifier for the uploaded code resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestHeaders

        CreateUploadUrlResponse.Builder requestHeaders​(Map<String,​String> requestHeaders)

        A set of key-value pairs that contain the required headers when uploading your resource.

        Parameters:
        requestHeaders - A set of key-value pairs that contain the required headers when uploading your resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Url

        CreateUploadUrlResponse.Builder s3Url​(String s3Url)

        A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders using any HTTP client.

        Parameters:
        s3Url - A pre-signed S3 URL. You can upload the code file you want to scan and add the required requestHeaders using any HTTP client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.