Package app.knock.api.model
Class MethodOptions.MethodOptionsBuilder
- java.lang.Object
-
- app.knock.api.model.MethodOptions.MethodOptionsBuilder
-
- Enclosing class:
- MethodOptions
public static class MethodOptions.MethodOptionsBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodOptions.MethodOptionsBuilderaddIdempotencyKey(java.lang.String idempotencyKey)The idempotency key to use for the request.MethodOptionsbuild()MethodOptions.MethodOptionsBuilderidempotencyKey(java.lang.String idempotencyKey)The idempotency key to use for the request.java.lang.StringtoString()
-
-
-
Method Detail
-
addIdempotencyKey
public MethodOptions.MethodOptionsBuilder addIdempotencyKey(java.lang.String idempotencyKey)
The idempotency key to use for the request.- Parameters:
idempotencyKey-- Returns:
-
idempotencyKey
public MethodOptions.MethodOptionsBuilder idempotencyKey(java.lang.String idempotencyKey)
The idempotency key to use for the request.- Returns:
this.
-
build
public MethodOptions build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-