Interface Attribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Attribute.Builder,
,Attribute> SdkBuilder<Attribute.Builder,
,Attribute> SdkPojo
- Enclosing class:
Attribute
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the attribute.The ID of the target.targetType
(String targetType) The type of the target to attach the attribute with.targetType
(TargetType targetType) The type of the target to attach the attribute with.The value of the attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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. Thename
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
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. Thevalue
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
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
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:
-
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.
-