Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Ticket |
build() |
Ticket.Builder |
copy(Ticket model) |
Ticket.Builder |
description(String description)
The description of the issue addressed in the ticket.
|
Ticket.Builder |
lifecycleDetails(LifecycleDetails lifecycleDetails)
Additional information about the current
lifecycleState . |
Ticket.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the ticket.
|
Ticket.Builder |
resourceList(List<Resource> resourceList)
The list of resources associated with the ticket.
|
Ticket.Builder |
severity(Ticket.Severity severity)
The severity assigned to the ticket.
|
Ticket.Builder |
ticketNumber(String ticketNumber)
Unique identifier for the ticket.
|
Ticket.Builder |
timeCreated(Integer timeCreated)
The time when the ticket was created, in milliseconds since epoch time.
|
Ticket.Builder |
timeUpdated(Integer timeUpdated)
The time when the ticket was updated, in milliseconds since epoch time.
|
Ticket.Builder |
title(String title)
The title of the ticket.
|
public Ticket.Builder ticketNumber(String ticketNumber)
Unique identifier for the ticket.
ticketNumber
- the value to setpublic Ticket.Builder severity(Ticket.Severity severity)
The severity assigned to the ticket.
severity
- the value to setpublic Ticket.Builder resourceList(List<Resource> resourceList)
The list of resources associated with the ticket.
resourceList
- the value to setpublic Ticket.Builder title(String title)
The title of the ticket.
title
- the value to setpublic Ticket.Builder description(String description)
The description of the issue addressed in the ticket.
description
- the value to setpublic Ticket.Builder timeCreated(Integer timeCreated)
The time when the ticket was created, in milliseconds since epoch time.
timeCreated
- the value to setpublic Ticket.Builder timeUpdated(Integer timeUpdated)
The time when the ticket was updated, in milliseconds since epoch time.
timeUpdated
- the value to setpublic Ticket.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the ticket.
lifecycleState
- the value to setpublic Ticket.Builder lifecycleDetails(LifecycleDetails lifecycleDetails)
Additional information about the current lifecycleState
.
lifecycleDetails
- the value to setpublic Ticket build()
public Ticket.Builder copy(Ticket model)
Copyright © 2016–2024. All rights reserved.