Class State.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.State.Builder
-
- Enclosing class:
- State
public static class State.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statebuild()Builds a State.State.Buildercurrent(java.lang.String current)Set the current.State.BuildercurrentEntered(java.util.Date currentEntered)Set the currentEntered.State.Builderpending(java.lang.String pending)Set the pending.State.BuilderpendingRequested(java.util.Date pendingRequested)Set the pendingRequested.State.Builderprevious(java.lang.String previous)Set the previous.
-
-
-
Method Detail
-
build
public State build()
Builds a State.- Returns:
- the new State instance
-
current
public State.Builder current(java.lang.String current)
Set the current.- Parameters:
current- the current- Returns:
- the State builder
-
currentEntered
public State.Builder currentEntered(java.util.Date currentEntered)
Set the currentEntered.- Parameters:
currentEntered- the currentEntered- Returns:
- the State builder
-
pending
public State.Builder pending(java.lang.String pending)
Set the pending.- Parameters:
pending- the pending- Returns:
- the State builder
-
pendingRequested
public State.Builder pendingRequested(java.util.Date pendingRequested)
Set the pendingRequested.- Parameters:
pendingRequested- the pendingRequested- Returns:
- the State builder
-
previous
public State.Builder previous(java.lang.String previous)
Set the previous.- Parameters:
previous- the previous- Returns:
- the State builder
-
-