@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentBindingPropertiesValueProperties extends Object implements Serializable, Cloneable, StructuredPojo
Represents the data binding configuration for a specific property using data stored in Amazon Web Services. For Amazon Web Services connected properties, you can bind a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an authenticated user attribute.
Constructor and Description |
---|
ComponentBindingPropertiesValueProperties() |
Modifier and Type | Method and Description |
---|---|
ComponentBindingPropertiesValueProperties |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
An Amazon S3 bucket.
|
String |
getDefaultValue()
The default value to assign to the property.
|
String |
getField()
The field to bind the data to.
|
String |
getKey()
The storage key for an Amazon S3 bucket.
|
String |
getModel()
An Amplify DataStore model.
|
List<Predicate> |
getPredicates()
A list of predicates for binding a component's properties to data.
|
String |
getUserAttribute()
An authenticated user attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
An Amazon S3 bucket.
|
void |
setDefaultValue(String defaultValue)
The default value to assign to the property.
|
void |
setField(String field)
The field to bind the data to.
|
void |
setKey(String key)
The storage key for an Amazon S3 bucket.
|
void |
setModel(String model)
An Amplify DataStore model.
|
void |
setPredicates(Collection<Predicate> predicates)
A list of predicates for binding a component's properties to data.
|
void |
setUserAttribute(String userAttribute)
An authenticated user attribute.
|
String |
toString()
Returns a string representation of this object.
|
ComponentBindingPropertiesValueProperties |
withBucket(String bucket)
An Amazon S3 bucket.
|
ComponentBindingPropertiesValueProperties |
withDefaultValue(String defaultValue)
The default value to assign to the property.
|
ComponentBindingPropertiesValueProperties |
withField(String field)
The field to bind the data to.
|
ComponentBindingPropertiesValueProperties |
withKey(String key)
The storage key for an Amazon S3 bucket.
|
ComponentBindingPropertiesValueProperties |
withModel(String model)
An Amplify DataStore model.
|
ComponentBindingPropertiesValueProperties |
withPredicates(Collection<Predicate> predicates)
A list of predicates for binding a component's properties to data.
|
ComponentBindingPropertiesValueProperties |
withPredicates(Predicate... predicates)
A list of predicates for binding a component's properties to data.
|
ComponentBindingPropertiesValueProperties |
withUserAttribute(String userAttribute)
An authenticated user attribute.
|
public ComponentBindingPropertiesValueProperties()
public void setBucket(String bucket)
An Amazon S3 bucket.
bucket
- An Amazon S3 bucket.public String getBucket()
An Amazon S3 bucket.
public ComponentBindingPropertiesValueProperties withBucket(String bucket)
An Amazon S3 bucket.
bucket
- An Amazon S3 bucket.public void setDefaultValue(String defaultValue)
The default value to assign to the property.
defaultValue
- The default value to assign to the property.public String getDefaultValue()
The default value to assign to the property.
public ComponentBindingPropertiesValueProperties withDefaultValue(String defaultValue)
The default value to assign to the property.
defaultValue
- The default value to assign to the property.public void setField(String field)
The field to bind the data to.
field
- The field to bind the data to.public String getField()
The field to bind the data to.
public ComponentBindingPropertiesValueProperties withField(String field)
The field to bind the data to.
field
- The field to bind the data to.public void setKey(String key)
The storage key for an Amazon S3 bucket.
key
- The storage key for an Amazon S3 bucket.public String getKey()
The storage key for an Amazon S3 bucket.
public ComponentBindingPropertiesValueProperties withKey(String key)
The storage key for an Amazon S3 bucket.
key
- The storage key for an Amazon S3 bucket.public void setModel(String model)
An Amplify DataStore model.
model
- An Amplify DataStore model.public String getModel()
An Amplify DataStore model.
public ComponentBindingPropertiesValueProperties withModel(String model)
An Amplify DataStore model.
model
- An Amplify DataStore model.public List<Predicate> getPredicates()
A list of predicates for binding a component's properties to data.
public void setPredicates(Collection<Predicate> predicates)
A list of predicates for binding a component's properties to data.
predicates
- A list of predicates for binding a component's properties to data.public ComponentBindingPropertiesValueProperties withPredicates(Predicate... predicates)
A list of predicates for binding a component's properties to data.
NOTE: This method appends the values to the existing list (if any). Use
setPredicates(java.util.Collection)
or withPredicates(java.util.Collection)
if you want to
override the existing values.
predicates
- A list of predicates for binding a component's properties to data.public ComponentBindingPropertiesValueProperties withPredicates(Collection<Predicate> predicates)
A list of predicates for binding a component's properties to data.
predicates
- A list of predicates for binding a component's properties to data.public void setUserAttribute(String userAttribute)
An authenticated user attribute.
userAttribute
- An authenticated user attribute.public String getUserAttribute()
An authenticated user attribute.
public ComponentBindingPropertiesValueProperties withUserAttribute(String userAttribute)
An authenticated user attribute.
userAttribute
- An authenticated user attribute.public String toString()
toString
in class Object
Object.toString()
public ComponentBindingPropertiesValueProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.