Interface UpdateUploadRequest.Builder

    • Method Detail

      • arn

        UpdateUploadRequest.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the uploaded test spec.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the uploaded test spec.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateUploadRequest.Builder name​(String name)

        The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension.

        Parameters:
        name - The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the .yaml or .yml file extension.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        UpdateUploadRequest.Builder contentType​(String contentType)

        The upload's content type (for example, application/x-yaml).

        Parameters:
        contentType - The upload's content type (for example, application/x-yaml).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • editContent

        UpdateUploadRequest.Builder editContent​(Boolean editContent)

        Set to true if the YAML file has changed and must be updated. Otherwise, set to false.

        Parameters:
        editContent - Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.