Interface PropertyResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PropertyResponse.Builder,,PropertyResponse> SdkBuilder<PropertyResponse.Builder,,PropertyResponse> SdkPojo
- Enclosing class:
PropertyResponse
public static interface PropertyResponse.Builder
extends SdkPojo, CopyableBuilder<PropertyResponse.Builder,PropertyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionareAllPropertyValuesReturned(Boolean areAllPropertyValuesReturned) This flag notes whether all values of a list or map type property are returned in the API response.default PropertyResponse.Builderdefinition(Consumer<PropertyDefinitionResponse.Builder> definition) An object that specifies information about a property.definition(PropertyDefinitionResponse definition) An object that specifies information about a property.default PropertyResponse.Buildervalue(Consumer<DataValue.Builder> value) The value of the property.The value of the property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
definition
An object that specifies information about a property.
- Parameters:
definition- An object that specifies information about a property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default PropertyResponse.Builder definition(Consumer<PropertyDefinitionResponse.Builder> definition) An object that specifies information about a property.
This is a convenience method that creates an instance of thePropertyDefinitionResponse.Builderavoiding the need to create one manually viaPropertyDefinitionResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(PropertyDefinitionResponse).- Parameters:
definition- a consumer that will call methods onPropertyDefinitionResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The value of the property.
- Parameters:
value- The value of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the property.
This is a convenience method that creates an instance of theDataValue.Builderavoiding the need to create one manually viaDataValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(DataValue).- Parameters:
value- a consumer that will call methods onDataValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
areAllPropertyValuesReturned
This flag notes whether all values of a list or map type property are returned in the API response. The maximum number of values per property returned is 50.
- Parameters:
areAllPropertyValuesReturned- This flag notes whether all values of a list or map type property are returned in the API response. The maximum number of values per property returned is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-