Package com.intercom.api.types
Class CreateOrUpdateTagRequest.Builder
- java.lang.Object
-
- com.intercom.api.types.CreateOrUpdateTagRequest.Builder
-
- All Implemented Interfaces:
CreateOrUpdateTagRequest._FinalStage,CreateOrUpdateTagRequest.NameStage
- Enclosing class:
- CreateOrUpdateTagRequest
public static final class CreateOrUpdateTagRequest.Builder extends java.lang.Object implements CreateOrUpdateTagRequest.NameStage, CreateOrUpdateTagRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOrUpdateTagRequestbuild()CreateOrUpdateTagRequest.Builderfrom(CreateOrUpdateTagRequest other)CreateOrUpdateTagRequest._FinalStageid(java.lang.String id)The id of tag to updates.CreateOrUpdateTagRequest._FinalStageid(java.util.Optional<java.lang.String> id)The id of tag to updates.CreateOrUpdateTagRequest._FinalStagename(java.lang.String name)The name of the tag, which will be created if not found, or the new name for the tag if this is an update request.
-
-
-
Method Detail
-
from
public CreateOrUpdateTagRequest.Builder from(CreateOrUpdateTagRequest other)
- Specified by:
fromin interfaceCreateOrUpdateTagRequest.NameStage
-
name
public CreateOrUpdateTagRequest._FinalStage name(@NotNull java.lang.String name)
The name of the tag, which will be created if not found, or the new name for the tag if this is an update request. Names are case insensitive.
The name of the tag, which will be created if not found, or the new name for the tag if this is an update request. Names are case insensitive.
- Specified by:
namein interfaceCreateOrUpdateTagRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public CreateOrUpdateTagRequest._FinalStage id(java.lang.String id)
The id of tag to updates.
- Specified by:
idin interfaceCreateOrUpdateTagRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public CreateOrUpdateTagRequest._FinalStage id(java.util.Optional<java.lang.String> id)
The id of tag to updates.
- Specified by:
idin interfaceCreateOrUpdateTagRequest._FinalStage
-
build
public CreateOrUpdateTagRequest build()
- Specified by:
buildin interfaceCreateOrUpdateTagRequest._FinalStage
-
-