Interface PropertyRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PropertyRequest.Builder,
,PropertyRequest> SdkBuilder<PropertyRequest.Builder,
,PropertyRequest> SdkPojo
- Enclosing class:
PropertyRequest
public static interface PropertyRequest.Builder
extends SdkPojo, CopyableBuilder<PropertyRequest.Builder,PropertyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PropertyRequest.Builder
definition
(Consumer<PropertyDefinitionRequest.Builder> definition) An object that specifies information about a property.definition
(PropertyDefinitionRequest definition) An object that specifies information about a property.updateType
(String updateType) The update type of the update property request.updateType
(PropertyUpdateType updateType) The update type of the update property request.default PropertyRequest.Builder
value
(Consumer<DataValue.Builder> value) The value of the property.The value of the property.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
-
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
An object that specifies information about a property.
This is a convenience method that creates an instance of thePropertyDefinitionRequest.Builder
avoiding the need to create one manually viaPropertyDefinitionRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(PropertyDefinitionRequest)
.- Parameters:
definition
- a consumer that will call methods onPropertyDefinitionRequest.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.Builder
avoiding the need to create one manually viaDataValue.builder()
.When the
Consumer
completes,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:
-
updateType
The update type of the update property request.
- Parameters:
updateType
- The update type of the update property request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
The update type of the update property request.
- Parameters:
updateType
- The update type of the update property request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-