Interface ValueWithServiceIds.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValueWithServiceIds.Builder,
,ValueWithServiceIds> SdkBuilder<ValueWithServiceIds.Builder,
,ValueWithServiceIds> SdkPojo
- Enclosing class:
ValueWithServiceIds
public static interface ValueWithServiceIds.Builder
extends SdkPojo, CopyableBuilder<ValueWithServiceIds.Builder,ValueWithServiceIds>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ValueWithServiceIds.Builder
annotationValue
(Consumer<AnnotationValue.Builder> annotationValue) Values of the annotation.annotationValue
(AnnotationValue annotationValue) Values of the annotation.serviceIds
(Collection<ServiceId> serviceIds) Services to which the annotation applies.serviceIds
(Consumer<ServiceId.Builder>... serviceIds) Services to which the annotation applies.serviceIds
(ServiceId... serviceIds) Services to which the annotation applies.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 Details
-
annotationValue
Values of the annotation.
- Parameters:
annotationValue
- Values of the annotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotationValue
default ValueWithServiceIds.Builder annotationValue(Consumer<AnnotationValue.Builder> annotationValue) Values of the annotation.
This is a convenience method that creates an instance of theAnnotationValue.Builder
avoiding the need to create one manually viaAnnotationValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toannotationValue(AnnotationValue)
.- Parameters:
annotationValue
- a consumer that will call methods onAnnotationValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceIds
Services to which the annotation applies.
- Parameters:
serviceIds
- Services to which the annotation applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIds
Services to which the annotation applies.
- Parameters:
serviceIds
- Services to which the annotation applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIds
Services to which the annotation applies.
This is a convenience method that creates an instance of theServiceId.Builder
avoiding the need to create one manually viaServiceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceIds(List<ServiceId>)
.- Parameters:
serviceIds
- a consumer that will call methods onServiceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-