Interface CreatePredefinedAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<CreatePredefinedAttributeRequest.Builder,
,CreatePredefinedAttributeRequest> SdkBuilder<CreatePredefinedAttributeRequest.Builder,
,CreatePredefinedAttributeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePredefinedAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeConfiguration
(Consumer<InputPredefinedAttributeConfiguration.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
(InputPredefinedAttributeConfiguration 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.instanceId
(String instanceId) The identifier of the Amazon Connect instance.The name of the predefined attribute.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Values that enable you to categorize your predefined attributes.purposes
(Collection<String> purposes) Values that enable you to categorize your predefined attributes.The values of the predefined attribute.values
(PredefinedAttributeValues values) The values of the predefined attribute.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
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
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
default CreatePredefinedAttributeRequest.Builder values(Consumer<PredefinedAttributeValues.Builder> 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
CreatePredefinedAttributeRequest.Builder attributeConfiguration(InputPredefinedAttributeConfiguration 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 CreatePredefinedAttributeRequest.Builder attributeConfiguration(Consumer<InputPredefinedAttributeConfiguration.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 theInputPredefinedAttributeConfiguration.Builder
avoiding the need to create one manually viaInputPredefinedAttributeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeConfiguration(InputPredefinedAttributeConfiguration)
.- Parameters:
attributeConfiguration
- a consumer that will call methods onInputPredefinedAttributeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePredefinedAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePredefinedAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-