Interface Attribute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Attribute.Builder,Attribute>,SdkBuilder<Attribute.Builder,Attribute>,SdkPojo
- Enclosing class:
- Attribute
public static interface Attribute.Builder extends SdkPojo, CopyableBuilder<Attribute.Builder,Attribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attribute.Buildername(String name)The name of the attribute.Attribute.BuildertargetId(String targetId)The ID of the target.Attribute.BuildertargetType(String targetType)The type of the target to attach the attribute with.Attribute.BuildertargetType(TargetType targetType)The type of the target to attach the attribute with.Attribute.Buildervalue(String value)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 Detail
-
name
Attribute.Builder name(String name)
The name of the attribute. The
namemust 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. Thenamemust 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
valuemust 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. Thevaluemust 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.
-
-