Interface Property.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Property.Builder,
,Property> SdkBuilder<Property.Builder,
,Property> SdkPojo
- Enclosing class:
Property
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues
(Collection<AllowedValue> allowedValues) A list ofAllowedValue
objects representing the values allowed for the property.allowedValues
(Consumer<AllowedValue.Builder>... allowedValues) A list ofAllowedValue
objects representing the values allowed for the property.allowedValues
(AllowedValue... allowedValues) A list ofAllowedValue
objects representing the values allowed for the property.dataOperationScopes
(Collection<DataOperation> dataOperationScopes) Indicates which data operations are applicable to the property.dataOperationScopes
(DataOperation... dataOperationScopes) Indicates which data operations are applicable to the property.dataOperationScopesWithStrings
(String... dataOperationScopes) Indicates which data operations are applicable to the property.dataOperationScopesWithStrings
(Collection<String> dataOperationScopes) Indicates which data operations are applicable to the property.defaultValue
(String defaultValue) The default value for the property.description
(String description) A description of the property.The name of the property.propertyTypes
(Collection<PropertyType> propertyTypes) Describes the type of property.propertyTypes
(PropertyType... propertyTypes) Describes the type of property.propertyTypesWithStrings
(String... propertyTypes) Describes the type of property.propertyTypesWithStrings
(Collection<String> propertyTypes) Describes the type of property.Indicates whether the property is required.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
-
name
The name of the property.
- Parameters:
name
- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the property.
- Parameters:
description
- A description of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
Indicates whether the property is required.
- Parameters:
required
- Indicates whether the property is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value for the property.
- Parameters:
defaultValue
- The default value for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyTypesWithStrings
Describes the type of property.
- Parameters:
propertyTypes
- Describes the type of property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyTypesWithStrings
Describes the type of property.
- Parameters:
propertyTypes
- Describes the type of property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyTypes
Describes the type of property.
- Parameters:
propertyTypes
- Describes the type of property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyTypes
Describes the type of property.
- Parameters:
propertyTypes
- Describes the type of property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
A list of
AllowedValue
objects representing the values allowed for the property.- Parameters:
allowedValues
- A list ofAllowedValue
objects representing the values allowed for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
A list of
AllowedValue
objects representing the values allowed for the property.- Parameters:
allowedValues
- A list ofAllowedValue
objects representing the values allowed for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
A list of
This is a convenience method that creates an instance of theAllowedValue
objects representing the values allowed for the property.AllowedValue.Builder
avoiding the need to create one manually viaAllowedValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallowedValues(List<AllowedValue>)
.- Parameters:
allowedValues
- a consumer that will call methods onAllowedValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataOperationScopesWithStrings
Indicates which data operations are applicable to the property.
- Parameters:
dataOperationScopes
- Indicates which data operations are applicable to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataOperationScopesWithStrings
Indicates which data operations are applicable to the property.
- Parameters:
dataOperationScopes
- Indicates which data operations are applicable to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataOperationScopes
Indicates which data operations are applicable to the property.
- Parameters:
dataOperationScopes
- Indicates which data operations are applicable to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataOperationScopes
Indicates which data operations are applicable to the property.
- Parameters:
dataOperationScopes
- Indicates which data operations are applicable to the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-