Interface InstanceEventWindowAssociationTarget.Builder

    • Method Detail

      • instanceIds

        InstanceEventWindowAssociationTarget.Builder instanceIds​(Collection<String> instanceIds)

        The IDs of the instances associated with the event window.

        Parameters:
        instanceIds - The IDs of the instances associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIds

        InstanceEventWindowAssociationTarget.Builder instanceIds​(String... instanceIds)

        The IDs of the instances associated with the event window.

        Parameters:
        instanceIds - The IDs of the instances associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        InstanceEventWindowAssociationTarget.Builder tags​(Collection<Tag> tags)

        The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.

        Parameters:
        tags - The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        InstanceEventWindowAssociationTarget.Builder tags​(Tag... tags)

        The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.

        Parameters:
        tags - The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        InstanceEventWindowAssociationTarget.Builder tags​(Consumer<Tag.Builder>... tags)

        The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.

        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 #tags(List).

        Parameters:
        tags - 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:
        #tags(java.util.Collection)
      • dedicatedHostIds

        InstanceEventWindowAssociationTarget.Builder dedicatedHostIds​(Collection<String> dedicatedHostIds)

        The IDs of the Dedicated Hosts associated with the event window.

        Parameters:
        dedicatedHostIds - The IDs of the Dedicated Hosts associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dedicatedHostIds

        InstanceEventWindowAssociationTarget.Builder dedicatedHostIds​(String... dedicatedHostIds)

        The IDs of the Dedicated Hosts associated with the event window.

        Parameters:
        dedicatedHostIds - The IDs of the Dedicated Hosts associated with the event window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.