Interface DashboardVersion.Builder

    • Method Detail

      • createdTime

        DashboardVersion.Builder createdTime​(Instant createdTime)

        The time that this dashboard version was created.

        Parameters:
        createdTime - The time that this dashboard version was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        DashboardVersion.Builder errors​(Collection<DashboardError> errors)

        Errors associated with this dashboard version.

        Parameters:
        errors - Errors associated with this dashboard version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        DashboardVersion.Builder errors​(DashboardError... errors)

        Errors associated with this dashboard version.

        Parameters:
        errors - Errors associated with this dashboard version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionNumber

        DashboardVersion.Builder versionNumber​(Long versionNumber)

        Version number for this version of the dashboard.

        Parameters:
        versionNumber - Version number for this version of the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        DashboardVersion.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the resource.

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

        DashboardVersion.Builder sourceEntityArn​(String sourceEntityArn)

        Source entity ARN.

        Parameters:
        sourceEntityArn - Source entity ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSetArns

        DashboardVersion.Builder dataSetArns​(Collection<String> dataSetArns)

        The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.

        Parameters:
        dataSetArns - The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSetArns

        DashboardVersion.Builder dataSetArns​(String... dataSetArns)

        The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.

        Parameters:
        dataSetArns - The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DashboardVersion.Builder description​(String description)

        Description.

        Parameters:
        description - Description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • themeArn

        DashboardVersion.Builder themeArn​(String themeArn)

        The ARN of the theme associated with a version of the dashboard.

        Parameters:
        themeArn - The ARN of the theme associated with a version of the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheets

        DashboardVersion.Builder sheets​(Collection<Sheet> sheets)

        A list of the associated sheets with the unique identifier and name of each sheet.

        Parameters:
        sheets - A list of the associated sheets with the unique identifier and name of each sheet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheets

        DashboardVersion.Builder sheets​(Sheet... sheets)

        A list of the associated sheets with the unique identifier and name of each sheet.

        Parameters:
        sheets - A list of the associated sheets with the unique identifier and name of each sheet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sheets

        DashboardVersion.Builder sheets​(Consumer<Sheet.Builder>... sheets)

        A list of the associated sheets with the unique identifier and name of each sheet.

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

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

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