Klasse UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder
- Umschließende Klasse:
UpdateAttachmentDataOperationSpec
public static class UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe relative location and name of the attachment to be added to the content.attachmentId
(@NotNull String attachmentId) The ID of the attachment to update.build()
The comment for the attachment that is being added.The ID of the content that the attachment is attached to.IfminorEdits
is set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.toString()
-
Methodendetails
-
id
public UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the content that the attachment is attached to.- Gibt zurück:
this
.
-
attachmentId
public UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder attachmentId(@NotNull @NotNull String attachmentId) The ID of the attachment to update.- Gibt zurück:
this
.
-
_file
public UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder _file(@NotNull @NotNull File _file) The relative location and name of the attachment to be added to the content.- Gibt zurück:
this
.
-
minorEdit
public UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder minorEdit(@NotNull @NotNull File minorEdit) IfminorEdits
is set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.- Gibt zurück:
this
.
-
comment
public UpdateAttachmentDataOperationSpec.UpdateAttachmentDataOperationSpecBuilder comment(@Nullable @Nullable File comment) The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.- Gibt zurück:
this
.
-
build
-
toString
-