Package com.oracle.bmc.jms.model
Class Blocklist.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.Blocklist.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 typeBlocklist.Builder
reason(String reason)
The reason why the operation is blocklisted.Blocklist.Builder
target(BlocklistTarget target)
-
-
-
Method Detail
-
key
public Blocklist.Builder key(String key)
The unique identifier of this blocklist record.- Parameters:
key
- the value to set- Returns:
- this builder
-
target
public Blocklist.Builder target(BlocklistTarget target)
-
operation
public Blocklist.Builder operation(OperationType operation)
The operation type- Parameters:
operation
- the value to set- Returns:
- this builder
-
reason
public Blocklist.Builder reason(String reason)
The reason why the operation is blocklisted.- Parameters:
reason
- the value to set- Returns:
- this builder
-
build
public Blocklist build()
-
copy
public Blocklist.Builder copy(Blocklist model)
-
-