Interface AdditionalResultAttribute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>,SdkBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>,SdkPojo
- Enclosing class:
- AdditionalResultAttribute
public static interface AdditionalResultAttribute.Builder extends SdkPojo, CopyableBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AdditionalResultAttribute.Builderkey(String key)The key that identifies the attribute.default AdditionalResultAttribute.Buildervalue(Consumer<AdditionalResultAttributeValue.Builder> value)An object that contains the attribute value.AdditionalResultAttribute.Buildervalue(AdditionalResultAttributeValue value)An object that contains the attribute value.AdditionalResultAttribute.BuildervalueType(String valueType)The data type of theValueproperty.AdditionalResultAttribute.BuildervalueType(AdditionalResultAttributeValueType valueType)The data type of theValueproperty.-
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
-
key
AdditionalResultAttribute.Builder key(String key)
The key that identifies the attribute.
- Parameters:
key- The key that identifies the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueType
AdditionalResultAttribute.Builder valueType(String valueType)
The data type of the
Valueproperty.- Parameters:
valueType- The data type of theValueproperty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AdditionalResultAttributeValueType,AdditionalResultAttributeValueType
-
valueType
AdditionalResultAttribute.Builder valueType(AdditionalResultAttributeValueType valueType)
The data type of the
Valueproperty.- Parameters:
valueType- The data type of theValueproperty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AdditionalResultAttributeValueType,AdditionalResultAttributeValueType
-
value
AdditionalResultAttribute.Builder value(AdditionalResultAttributeValue value)
An object that contains the attribute value.
- Parameters:
value- An object that contains the attribute value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default AdditionalResultAttribute.Builder value(Consumer<AdditionalResultAttributeValue.Builder> value)
An object that contains the attribute value.
This is a convenience method that creates an instance of theAdditionalResultAttributeValue.Builderavoiding the need to create one manually viaAdditionalResultAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(AdditionalResultAttributeValue).- Parameters:
value- a consumer that will call methods onAdditionalResultAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(AdditionalResultAttributeValue)
-
-