Interface PredefinedAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredefinedAttribute.Builder,
,PredefinedAttribute> SdkBuilder<PredefinedAttribute.Builder,
,PredefinedAttribute> SdkPojo
- Enclosing class:
PredefinedAttribute
-
Method Summary
Modifier and TypeMethodDescriptiondefault PredefinedAttribute.Builder
attributeConfiguration
(Consumer<PredefinedAttributeConfiguration.Builder> attributeConfiguration) Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.attributeConfiguration
(PredefinedAttributeConfiguration attributeConfiguration) Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.lastModifiedRegion
(String lastModifiedRegion) Last modified region.lastModifiedTime
(Instant lastModifiedTime) Last modified time.The name of the predefined attribute.Values that enable you to categorize your predefined attributes.purposes
(Collection<String> purposes) Values that enable you to categorize your predefined attributes.default PredefinedAttribute.Builder
The values of the predefined attribute.values
(PredefinedAttributeValues values) The values of the predefined 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
-
name
The name of the predefined attribute.
- Parameters:
name
- The name of the predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values of the predefined attribute.
- Parameters:
values
- The values of the predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values of the predefined attribute.
This is a convenience method that creates an instance of thePredefinedAttributeValues.Builder
avoiding the need to create one manually viaPredefinedAttributeValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalues(PredefinedAttributeValues)
.- Parameters:
values
- a consumer that will call methods onPredefinedAttributeValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
purposes
Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.
- Parameters:
purposes
- Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
purposes
Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.
- Parameters:
purposes
- Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeConfiguration
PredefinedAttribute.Builder attributeConfiguration(PredefinedAttributeConfiguration attributeConfiguration) Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.
- Parameters:
attributeConfiguration
- Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeConfiguration
default PredefinedAttribute.Builder attributeConfiguration(Consumer<PredefinedAttributeConfiguration.Builder> attributeConfiguration) Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.
This is a convenience method that creates an instance of thePredefinedAttributeConfiguration.Builder
avoiding the need to create one manually viaPredefinedAttributeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeConfiguration(PredefinedAttributeConfiguration)
.- Parameters:
attributeConfiguration
- a consumer that will call methods onPredefinedAttributeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
Last modified time.
- Parameters:
lastModifiedTime
- Last modified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
Last modified region.
- Parameters:
lastModifiedRegion
- Last modified region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-