Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Blocklist |
build() |
Blocklist.Builder |
copy(Blocklist model) |
Blocklist.Builder |
key(String key)
The unique identifier of this blocklist record.
|
Blocklist.Builder |
operation(OperationType operation)
The operation type
|
Blocklist.Builder |
reason(String reason)
The reason why the operation is blocklisted.
|
Blocklist.Builder |
target(BlocklistTarget target) |
public Blocklist.Builder key(String key)
The unique identifier of this blocklist record.
key
- the value to setpublic Blocklist.Builder target(BlocklistTarget target)
public Blocklist.Builder operation(OperationType operation)
The operation type
operation
- the value to setpublic Blocklist.Builder reason(String reason)
The reason why the operation is blocklisted.
reason
- the value to setpublic Blocklist build()
public Blocklist.Builder copy(Blocklist model)
Copyright © 2016–2024. All rights reserved.