Interface ValueWithServiceIds.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValueWithServiceIds.Builder,ValueWithServiceIds>,SdkBuilder<ValueWithServiceIds.Builder,ValueWithServiceIds>,SdkPojo
- Enclosing class:
- ValueWithServiceIds
@Mutable @NotThreadSafe public static interface ValueWithServiceIds.Builder extends SdkPojo, CopyableBuilder<ValueWithServiceIds.Builder,ValueWithServiceIds>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ValueWithServiceIds.BuilderannotationValue(Consumer<AnnotationValue.Builder> annotationValue)Values of the annotation.ValueWithServiceIds.BuilderannotationValue(AnnotationValue annotationValue)Values of the annotation.ValueWithServiceIds.BuilderserviceIds(Collection<ServiceId> serviceIds)Services to which the annotation applies.ValueWithServiceIds.BuilderserviceIds(Consumer<ServiceId.Builder>... serviceIds)Services to which the annotation applies.ValueWithServiceIds.BuilderserviceIds(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
annotationValue
ValueWithServiceIds.Builder annotationValue(AnnotationValue 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.Builderavoiding the need to create one manually viaAnnotationValue.builder().When the
Consumercompletes,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:
annotationValue(AnnotationValue)
-
serviceIds
ValueWithServiceIds.Builder serviceIds(Collection<ServiceId> 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
ValueWithServiceIds.Builder serviceIds(ServiceId... 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
ValueWithServiceIds.Builder serviceIds(Consumer<ServiceId.Builder>... serviceIds)
Services to which the annotation applies.
This is a convenience method that creates an instance of theServiceId.Builderavoiding the need to create one manually viaServiceId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceIds(List.) - 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:
#serviceIds(java.util.Collection)
-
-