public static interface ValueWithServiceIds.Builder extends CopyableBuilder<ValueWithServiceIds.Builder,ValueWithServiceIds>
Modifier and Type | Method and Description |
---|---|
ValueWithServiceIds.Builder |
annotationValue(AnnotationValue annotationValue)
Values of the annotation.
|
default ValueWithServiceIds.Builder |
annotationValue(Consumer<AnnotationValue.Builder> annotationValue)
Values of the annotation.
|
ValueWithServiceIds.Builder |
serviceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
|
ValueWithServiceIds.Builder |
serviceIds(ServiceId... serviceIds)
Services to which the annotation applies.
|
copy
apply, build
ValueWithServiceIds.Builder annotationValue(AnnotationValue annotationValue)
Values of the annotation.
annotationValue
- Values of the annotation.default ValueWithServiceIds.Builder annotationValue(Consumer<AnnotationValue.Builder> annotationValue)
Values of the annotation.
This is a convenience that creates an instance of theAnnotationValue.Builder
avoiding the need to
create one manually via AnnotationValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to annotationValue(AnnotationValue)
.annotationValue
- a consumer that will call methods on AnnotationValue.Builder
annotationValue(AnnotationValue)
ValueWithServiceIds.Builder serviceIds(Collection<ServiceId> serviceIds)
Services to which the annotation applies.
serviceIds
- Services to which the annotation applies.ValueWithServiceIds.Builder serviceIds(ServiceId... serviceIds)
Services to which the annotation applies.
serviceIds
- Services to which the annotation applies.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.