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(Consumer<ServiceId.Builder>... serviceIds)
Services to which the annotation applies.
|
ValueWithServiceIds.Builder |
serviceIds(ServiceId... serviceIds)
Services to which the annotation applies.
|
copyapply, buildValueWithServiceIds.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.BuilderannotationValue(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.ValueWithServiceIds.Builder serviceIds(Consumer<ServiceId.Builder>... serviceIds)
Services to which the annotation applies.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #serviceIds(List) .serviceIds - a consumer that will call methods on List.Builder #serviceIds(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.