Interface CreateDashboardResponse.Builder

    • Method Detail

      • dashboardArn

        CreateDashboardResponse.Builder dashboardArn​(String dashboardArn)

        The ARN for the dashboard.

        Parameters:
        dashboardArn - The ARN for the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateDashboardResponse.Builder name​(String name)

        The name of the dashboard.

        Parameters:
        name - The name of the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • widgets

        CreateDashboardResponse.Builder widgets​(Collection<Widget> widgets)

        An array of widgets for the dashboard.

        Parameters:
        widgets - An array of widgets for the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • widgets

        CreateDashboardResponse.Builder widgets​(Widget... widgets)

        An array of widgets for the dashboard.

        Parameters:
        widgets - An array of widgets for the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsList

        CreateDashboardResponse.Builder tagsList​(Collection<Tag> tagsList)
        Sets the value of the TagsList property for this object.
        Parameters:
        tagsList - The new value for the TagsList property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsList

        CreateDashboardResponse.Builder tagsList​(Tag... tagsList)
        Sets the value of the TagsList property for this object.
        Parameters:
        tagsList - The new value for the TagsList property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsList

        CreateDashboardResponse.Builder tagsList​(Consumer<Tag.Builder>... tagsList)
        Sets the value of the TagsList property for this object. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

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

        CreateDashboardResponse.Builder refreshSchedule​(RefreshSchedule refreshSchedule)

        The refresh schedule for the dashboard, if configured.

        Parameters:
        refreshSchedule - The refresh schedule for the dashboard, if configured.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • terminationProtectionEnabled

        CreateDashboardResponse.Builder terminationProtectionEnabled​(Boolean terminationProtectionEnabled)

        Indicates whether termination protection is enabled for the dashboard.

        Parameters:
        terminationProtectionEnabled - Indicates whether termination protection is enabled for the dashboard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.