Interface PartitionKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PartitionKey.Builder,PartitionKey>,SdkBuilder<PartitionKey.Builder,PartitionKey>,SdkPojo
- Enclosing class:
- PartitionKey
public static interface PartitionKey.Builder extends SdkPojo, CopyableBuilder<PartitionKey.Builder,PartitionKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionKey.BuilderenforcementInRecord(String enforcementInRecord)The level of enforcement for the specification of a dimension key in ingested records.PartitionKey.BuilderenforcementInRecord(PartitionKeyEnforcementLevel enforcementInRecord)The level of enforcement for the specification of a dimension key in ingested records.PartitionKey.Buildername(String name)The name of the attribute used for a dimension key.PartitionKey.Buildertype(String type)The type of the partition key.PartitionKey.Buildertype(PartitionKeyType type)The type of the partition key.-
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, sdkFields
-
-
-
-
Method Detail
-
type
PartitionKey.Builder type(String type)
The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
- Parameters:
type- The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartitionKeyType,PartitionKeyType
-
type
PartitionKey.Builder type(PartitionKeyType type)
The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
- Parameters:
type- The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartitionKeyType,PartitionKeyType
-
name
PartitionKey.Builder name(String name)
The name of the attribute used for a dimension key.
- Parameters:
name- The name of the attribute used for a dimension key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enforcementInRecord
PartitionKey.Builder enforcementInRecord(String enforcementInRecord)
The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
- Parameters:
enforcementInRecord- The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartitionKeyEnforcementLevel,PartitionKeyEnforcementLevel
-
enforcementInRecord
PartitionKey.Builder enforcementInRecord(PartitionKeyEnforcementLevel enforcementInRecord)
The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
- Parameters:
enforcementInRecord- The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PartitionKeyEnforcementLevel,PartitionKeyEnforcementLevel
-
-