Interface ComponentBindingPropertiesValueProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentBindingPropertiesValueProperties.Builder,
,ComponentBindingPropertiesValueProperties> SdkBuilder<ComponentBindingPropertiesValueProperties.Builder,
,ComponentBindingPropertiesValueProperties> SdkPojo
- Enclosing class:
ComponentBindingPropertiesValueProperties
@Mutable
@NotThreadSafe
public static interface ComponentBindingPropertiesValueProperties.Builder
extends SdkPojo, CopyableBuilder<ComponentBindingPropertiesValueProperties.Builder,ComponentBindingPropertiesValueProperties>
-
Method Summary
Modifier and TypeMethodDescriptionAn Amazon S3 bucket.defaultValue
(String defaultValue) The default value to assign to the property.The field to bind the data to.The storage key for an Amazon S3 bucket.An Amplify DataStore model.predicates
(Collection<Predicate> predicates) A list of predicates for binding a component's properties to data.predicates
(Consumer<Predicate.Builder>... predicates) A list of predicates for binding a component's properties to data.predicates
(Predicate... predicates) A list of predicates for binding a component's properties to data.The name of a component slot.userAttribute
(String userAttribute) An authenticated user 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
-
model
An Amplify DataStore model.
- Parameters:
model
- An Amplify DataStore model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
The field to bind the data to.
- Parameters:
field
- The field to bind the data to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicates
A list of predicates for binding a component's properties to data.
- Parameters:
predicates
- A list of predicates for binding a component's properties to data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicates
A list of predicates for binding a component's properties to data.
- Parameters:
predicates
- A list of predicates for binding a component's properties to data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicates
ComponentBindingPropertiesValueProperties.Builder predicates(Consumer<Predicate.Builder>... predicates) A list of predicates for binding a component's properties to data.
This is a convenience method that creates an instance of thePredicate.Builder
avoiding the need to create one manually viaPredicate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredicates(List<Predicate>)
.- Parameters:
predicates
- a consumer that will call methods onPredicate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userAttribute
An authenticated user attribute.
- Parameters:
userAttribute
- An authenticated user attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
An Amazon S3 bucket.
- Parameters:
bucket
- An Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The storage key for an Amazon S3 bucket.
- Parameters:
key
- The storage key for an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value to assign to the property.
- Parameters:
defaultValue
- The default value to assign to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotName
The name of a component slot.
- Parameters:
slotName
- The name of a component slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-