Class GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder
- Enclosing class:
- GetAttachmentThumbnailOperationSpec
public static class GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
fallbackToDefault
(@Nullable Boolean fallbackToDefault) Whether a default thumbnail is returned when the requested thumbnail is not found.The maximum height to scale the thumbnail to.The ID of the attachment.Whether a redirect is provided for the attachment download.toString()
The maximum width to scale the thumbnail to.
-
Method Details
-
id
public GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the attachment.- Returns:
this
.
-
redirect
public GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder redirect(@Nullable @Nullable Boolean redirect) Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this tofalse
to avoid making multiple requests to download the attachment.- Returns:
this
.
-
fallbackToDefault
public GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder fallbackToDefault(@Nullable @Nullable Boolean fallbackToDefault) Whether a default thumbnail is returned when the requested thumbnail is not found.- Returns:
this
.
-
width
public GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder width(@Nullable @Nullable Integer width) The maximum width to scale the thumbnail to.- Returns:
this
.
-
height
public GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder height(@Nullable @Nullable Integer height) The maximum height to scale the thumbnail to.- Returns:
this
.
-
build
-
toString
-