Interface RunCommandTarget.Builder

    • Method Detail

      • key

        RunCommandTarget.Builder key​(String key)

        Can be either tag: tag-key or InstanceIds.

        Parameters:
        key - Can be either tag: tag-key or InstanceIds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RunCommandTarget.Builder values​(Collection<String> values)

        If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.

        Parameters:
        values - If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • values

        RunCommandTarget.Builder values​(String... values)

        If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.

        Parameters:
        values - If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.