Class UserProfilePatch.Builder
- java.lang.Object
-
- com.courier.api.resources.profiles.types.UserProfilePatch.Builder
-
- All Implemented Interfaces:
UserProfilePatch._FinalStage,UserProfilePatch.OpStage,UserProfilePatch.PathStage,UserProfilePatch.ValueStage
- Enclosing class:
- UserProfilePatch
public static final class UserProfilePatch.Builder extends java.lang.Object implements UserProfilePatch.OpStage, UserProfilePatch.PathStage, UserProfilePatch.ValueStage, UserProfilePatch._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserProfilePatchbuild()UserProfilePatch.Builderfrom(UserProfilePatch other)UserProfilePatch.PathStageop(java.lang.String op)The operation to perform.UserProfilePatch.ValueStagepath(java.lang.String path)The JSON path specifying the part of the profile to operate on.UserProfilePatch._FinalStagevalue(java.lang.String value)The value for the operation.
-
-
-
Method Detail
-
from
public UserProfilePatch.Builder from(UserProfilePatch other)
- Specified by:
fromin interfaceUserProfilePatch.OpStage
-
op
public UserProfilePatch.PathStage op(java.lang.String op)
The operation to perform.
- Specified by:
opin interfaceUserProfilePatch.OpStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
path
public UserProfilePatch.ValueStage path(java.lang.String path)
The JSON path specifying the part of the profile to operate on.
- Specified by:
pathin interfaceUserProfilePatch.PathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
public UserProfilePatch._FinalStage value(java.lang.String value)
The value for the operation.
- Specified by:
valuein interfaceUserProfilePatch.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public UserProfilePatch build()
- Specified by:
buildin interfaceUserProfilePatch._FinalStage
-
-