Interface StartExportTaskRequest.Builder

    • Method Detail

      • exportDataFormatWithStrings

        StartExportTaskRequest.Builder exportDataFormatWithStrings​(Collection<String> exportDataFormat)

        The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

        Parameters:
        exportDataFormat - The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exportDataFormatWithStrings

        StartExportTaskRequest.Builder exportDataFormatWithStrings​(String... exportDataFormat)

        The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

        Parameters:
        exportDataFormat - The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exportDataFormat

        StartExportTaskRequest.Builder exportDataFormat​(Collection<ExportDataFormat> exportDataFormat)

        The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

        Parameters:
        exportDataFormat - The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exportDataFormat

        StartExportTaskRequest.Builder exportDataFormat​(ExportDataFormat... exportDataFormat)

        The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.

        Parameters:
        exportDataFormat - The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        StartExportTaskRequest.Builder filters​(Collection<ExportFilter> filters)

        If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.

        Parameters:
        filters - If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        StartExportTaskRequest.Builder filters​(ExportFilter... filters)

        If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.

        Parameters:
        filters - If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        StartExportTaskRequest.Builder filters​(Consumer<ExportFilter.Builder>... filters)

        If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.

        This is a convenience method that creates an instance of the ExportFilter.Builder avoiding the need to create one manually via ExportFilter.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on ExportFilter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • startTime

        StartExportTaskRequest.Builder startTime​(Instant startTime)

        The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.

        Parameters:
        startTime - The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        StartExportTaskRequest.Builder endTime​(Instant endTime)

        The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.

        Parameters:
        endTime - The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preferences

        StartExportTaskRequest.Builder preferences​(ExportPreferences preferences)

        Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.

        Parameters:
        preferences - Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.