@Immutable @PublicApi public final class PermissionSchemeInput extends Object
PermissionScheme
.Modifier and Type | Class and Description |
---|---|
static class |
PermissionSchemeInput.Builder |
Modifier and Type | Method and Description |
---|---|
static PermissionSchemeInput.Builder |
builder(PermissionScheme scheme)
Creates a new builder which has all the fields set as an input
scheme . |
static PermissionSchemeInput.Builder |
builder(PermissionSchemeInput data)
Creates a new builder which has all the fields set as an input
data . |
static PermissionSchemeInput.Builder |
builder(String name)
Creates a builder of
PermissionSchemeInput objects. |
boolean |
equals(Object o) |
io.atlassian.fugue.Option<String> |
getDescription() |
String |
getName() |
List<PermissionGrantInput> |
getPermissions() |
int |
hashCode() |
String |
toString() |
public String getName()
public io.atlassian.fugue.Option<String> getDescription()
public List<PermissionGrantInput> getPermissions()
public static PermissionSchemeInput.Builder builder(@Nonnull String name)
PermissionSchemeInput
objects. Accepts a name
as an argument
as it's the only required field for a permission scheme.name
- permission scheme namepublic static PermissionSchemeInput.Builder builder(@Nonnull PermissionSchemeInput data)
data
.data
- data to set in the returned builderpublic static PermissionSchemeInput.Builder builder(@Nonnull PermissionScheme scheme)
scheme
.
Note that all id-s will be lost.scheme
- data to set in the returned builderCopyright © 2002-2023 Atlassian. All Rights Reserved.