public static class HookScriptUpdateRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(HookScript script) |
Modifier and Type | Method and Description |
---|---|
HookScriptUpdateRequest |
build() |
HookScriptUpdateRequest.Builder |
content(byte[] value) |
HookScriptUpdateRequest.Builder |
content(InputSupplier<InputStream> value) |
HookScriptUpdateRequest.Builder |
content(String value) |
HookScriptUpdateRequest.Builder |
description(String value) |
HookScriptUpdateRequest.Builder |
name(String value) |
HookScriptUpdateRequest.Builder |
pluginKey(String value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull HookScript script)
@Nonnull public HookScriptUpdateRequest build()
@Nonnull public HookScriptUpdateRequest.Builder content(@Nonnull InputSupplier<InputStream> value)
@Nonnull public HookScriptUpdateRequest.Builder content(@Nonnull String value)
@Nonnull public HookScriptUpdateRequest.Builder content(@Nonnull byte[] value)
@Nonnull public HookScriptUpdateRequest.Builder description(@Nullable String value)
@Nonnull public HookScriptUpdateRequest.Builder name(@Nonnull String value)
@Nonnull public HookScriptUpdateRequest.Builder pluginKey(@Nonnull String value)
Copyright © 2019 Atlassian. All rights reserved.