Package com.oracle.bmc.cims.model
Class Ticket.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.Ticket.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 seconds since epoch time.Ticket.Builder
timeUpdated(Integer timeUpdated)
The time when the ticket was updated, in seconds since epoch time.Ticket.Builder
title(String title)
The title of the ticket.
-
-
-
Method Detail
-
ticketNumber
public Ticket.Builder ticketNumber(String ticketNumber)
Unique identifier for the ticket.- Parameters:
ticketNumber
- the value to set- Returns:
- this builder
-
severity
public Ticket.Builder severity(Ticket.Severity severity)
The severity assigned to the ticket.- Parameters:
severity
- the value to set- Returns:
- this builder
-
resourceList
public Ticket.Builder resourceList(List<Resource> resourceList)
The list of resources associated with the ticket.- Parameters:
resourceList
- the value to set- Returns:
- this builder
-
title
public Ticket.Builder title(String title)
The title of the ticket.- Parameters:
title
- the value to set- Returns:
- this builder
-
description
public Ticket.Builder description(String description)
The description of the issue addressed in the ticket.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public Ticket.Builder timeCreated(Integer timeCreated)
The time when the ticket was created, in seconds since epoch time.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Ticket.Builder timeUpdated(Integer timeUpdated)
The time when the ticket was updated, in seconds since epoch time.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public Ticket.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the ticket.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Ticket.Builder lifecycleDetails(LifecycleDetails lifecycleDetails)
Additional information about the current lifecycleState.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
build
public Ticket build()
-
copy
public Ticket.Builder copy(Ticket model)
-
-