Interface AnnotationReferenceValueSetRequest.Builder<T>
- Type Parameters:
T
- the Java class that backs the value type of the reference field
- Enclosing interface:
- AnnotationReferenceValueSetRequest<T>
public static interface AnnotationReferenceValueSetRequest.Builder<T>
Creates an instance of
AnnotationReferenceValueSetRequest
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and retrieves a completedAnnotationReferenceValueSetRequest
.Required: Sets the name of the annotation reference field to retrieve the value set for.Required: Sets the name of the annotation reference type associated with the field to retrieve the value set for.
-
Method Details
-
withField
Required: Sets the name of the annotation reference field to retrieve the value set for.- Parameters:
field
- the name of the annotation reference field. Cannot be null or empty.- Returns:
- this
AnnotationReferenceValueSetRequest.Builder
-
withType
Required: Sets the name of the annotation reference type associated with the field to retrieve the value set for.- Parameters:
type
- the name of the annotation reference type. Cannot be null or empty.- Returns:
- this
AnnotationReferenceValueSetRequest.Builder
-
build
AnnotationReferenceValueSetRequest<T> build()Validates and retrieves a completedAnnotationReferenceValueSetRequest
.- Returns:
- the completed
AnnotationReferenceValueSetRequest
-