public static interface ObjectAttributeRange.Builder extends CopyableBuilder<ObjectAttributeRange.Builder,ObjectAttributeRange>
Modifier and Type | Method and Description |
---|---|
ObjectAttributeRange.Builder |
attributeKey(AttributeKey attributeKey)
The key of the attribute that the attribute range covers.
|
default ObjectAttributeRange.Builder |
attributeKey(Consumer<AttributeKey.Builder> attributeKey)
The key of the attribute that the attribute range covers.
|
default ObjectAttributeRange.Builder |
range(Consumer<TypedAttributeValueRange.Builder> range)
The range of attribute values being selected.
|
ObjectAttributeRange.Builder |
range(TypedAttributeValueRange range)
The range of attribute values being selected.
|
copy
applyMutation, build
ObjectAttributeRange.Builder attributeKey(AttributeKey attributeKey)
The key of the attribute that the attribute range covers.
attributeKey
- The key of the attribute that the attribute range covers.default ObjectAttributeRange.Builder attributeKey(Consumer<AttributeKey.Builder> attributeKey)
The key of the attribute that the attribute range covers.
This is a convenience that creates an instance of theAttributeKey.Builder
avoiding the need to
create one manually via AttributeKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to attributeKey(AttributeKey)
.attributeKey
- a consumer that will call methods on AttributeKey.Builder
attributeKey(AttributeKey)
ObjectAttributeRange.Builder range(TypedAttributeValueRange range)
The range of attribute values being selected.
range
- The range of attribute values being selected.default ObjectAttributeRange.Builder range(Consumer<TypedAttributeValueRange.Builder> range)
The range of attribute values being selected.
This is a convenience that creates an instance of theTypedAttributeValueRange.Builder
avoiding the
need to create one manually via TypedAttributeValueRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to range(TypedAttributeValueRange)
.range
- a consumer that will call methods on TypedAttributeValueRange.Builder
range(TypedAttributeValueRange)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.