Package org.apache.juneau.annotation
Class SwapAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTMFBuilder<SwapAnnotation.Builder>
org.apache.juneau.annotation.SwapAnnotation.Builder
- Enclosing class:
- SwapAnnotation
public static class SwapAnnotation.Builder
extends TargetedAnnotationTMFBuilder<SwapAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Instantiates a new@Swapobject initialized with this builder.Sets theSwap.impl()property on this annotation.mediaTypes(String... value) Sets theSwap.mediaTypes()property on this annotation.Sets theSwap.template()property on this annotation.Sets theSwap.value()property on this annotation.Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTMFBuilderon, onMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationTBuilderon, onClassMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilderonMethods inherited from class org.apache.juneau.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@Swapobject initialized with this builder.- Returns:
- A new @Swapobject.
 
- 
implSets theSwap.impl()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
mediaTypesSets theSwap.mediaTypes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
templateSets theSwap.template()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theSwap.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-