Package com.vmware.nsx_policy.model
Class AntreaTraceflowStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AntreaTraceflowStatus.Builder
-
- Enclosing class:
- AntreaTraceflowStatus
public static final class AntreaTraceflowStatus.Builder extends java.lang.Object
Builder class forAntreaTraceflowStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAntreaTraceflowStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntreaTraceflowStatus
build()
AntreaTraceflowStatus.Builder
setPhase(java.lang.String phase)
Possible values are:AntreaTraceflowStatus.PHASE_SUCCEEDED
AntreaTraceflowStatus.PHASE_FAILED
The execution phase of one traceflow.AntreaTraceflowStatus.Builder
setReason(java.lang.String reason)
The reason for the failure.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAntreaTraceflowStatus
.
-
-
Method Detail
-
setPhase
public AntreaTraceflowStatus.Builder setPhase(java.lang.String phase)
Possible values are: The execution phase of one traceflow.- Parameters:
phase
- New value for the property.
-
setReason
public AntreaTraceflowStatus.Builder setReason(java.lang.String reason)
The reason for the failure.- Parameters:
reason
- New value for the property.
-
build
public AntreaTraceflowStatus build()
-
-