Interface Attribute.Builder

    • Method Detail

      • name

        Attribute.Builder name​(String name)

        The name of the attribute. The name must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).

        Parameters:
        name - The name of the attribute. The name must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Attribute.Builder value​(String value)

        The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't start or end with a space.

        Parameters:
        value - The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't start or end with a space.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetType

        Attribute.Builder targetType​(String targetType)

        The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.

        Parameters:
        targetType - The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetType, TargetType
      • targetType

        Attribute.Builder targetType​(TargetType targetType)

        The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.

        Parameters:
        targetType - The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetType, TargetType
      • targetId

        Attribute.Builder targetId​(String targetId)

        The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

        Parameters:
        targetId - The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.