Interface CreatePredefinedAttributeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<CreatePredefinedAttributeRequest.Builder,CreatePredefinedAttributeRequest>
,SdkBuilder<CreatePredefinedAttributeRequest.Builder,CreatePredefinedAttributeRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreatePredefinedAttributeRequest
public static interface CreatePredefinedAttributeRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreatePredefinedAttributeRequest.Builder,CreatePredefinedAttributeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePredefinedAttributeRequest.Builder
instanceId(String instanceId)
The identifier of the Amazon Connect instance.CreatePredefinedAttributeRequest.Builder
name(String name)
The name of the predefined attribute.CreatePredefinedAttributeRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreatePredefinedAttributeRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default CreatePredefinedAttributeRequest.Builder
values(Consumer<PredefinedAttributeValues.Builder> values)
The values of the predefined attribute.CreatePredefinedAttributeRequest.Builder
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 Detail
-
instanceId
CreatePredefinedAttributeRequest.Builder instanceId(String 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
CreatePredefinedAttributeRequest.Builder name(String 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
CreatePredefinedAttributeRequest.Builder values(PredefinedAttributeValues 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:
values(PredefinedAttributeValues)
-
overrideConfiguration
CreatePredefinedAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePredefinedAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-