Interface SegmentAttributeValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentAttributeValue.Builder,
,SegmentAttributeValue> SdkBuilder<SegmentAttributeValue.Builder,
,SegmentAttributeValue> SdkPojo
- Enclosing class:
SegmentAttributeValue
-
Method Summary
Modifier and TypeMethodDescriptionThe value of a segment attribute that has to be a valid ARN.valueInteger
(Integer valueInteger) The value of a segment attribute.valueList
(Collection<SegmentAttributeValue> valueList) The value of a segment attribute.valueList
(Consumer<SegmentAttributeValue.Builder>... valueList) The value of a segment attribute.valueList
(SegmentAttributeValue... valueList) The value of a segment attribute.valueMap
(Map<String, SegmentAttributeValue> valueMap) The value of a segment attribute.valueString
(String valueString) The value of a segment 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, sdkFieldNameToField, sdkFields
-
Method Details
-
valueString
The value of a segment attribute.
- Parameters:
valueString
- The value of a segment attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueMap
The value of a segment attribute.
- Parameters:
valueMap
- The value of a segment attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueInteger
The value of a segment attribute.
- Parameters:
valueInteger
- The value of a segment attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueList
The value of a segment attribute. This is only supported for system-defined attributes, not for user-defined attributes.
- Parameters:
valueList
- The value of a segment attribute. This is only supported for system-defined attributes, not for user-defined attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueList
The value of a segment attribute. This is only supported for system-defined attributes, not for user-defined attributes.
- Parameters:
valueList
- The value of a segment attribute. This is only supported for system-defined attributes, not for user-defined attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueList
The value of a segment attribute. This is only supported for system-defined attributes, not for user-defined attributes.
This is a convenience method that creates an instance of theSegmentAttributeValue.Builder
avoiding the need to create one manually viaSegmentAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueList(List<SegmentAttributeValue>)
.- Parameters:
valueList
- a consumer that will call methods onSegmentAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueArn
The value of a segment attribute that has to be a valid ARN. This is only supported for system-defined attributes, not for user-defined attributes.
- Parameters:
valueArn
- The value of a segment attribute that has to be a valid ARN. This is only supported for system-defined attributes, not for user-defined attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-