Package com.vmware.nsx_policy.model
Class InstructionInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.InstructionInfo.Builder
-
- Enclosing class:
- InstructionInfo
public static final class InstructionInfo.Builder extends java.lang.Object
Builder class forInstructionInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofInstructionInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstructionInfo
build()
InstructionInfo.Builder
setActions(java.util.List<java.lang.String> actions)
A list of actions that are to be applied to resources This property may be present in responses from the server, but if it is present in a request to server it will be ignored.InstructionInfo.Builder
setFields(java.util.List<java.lang.String> fields)
A list of fields that are displayable to users in a table This property may be present in responses from the server, but if it is present in a request to server it will be ignored.InstructionInfo.Builder
setId(java.lang.String id)
UUID of the instruction This property may be present in responses from the server, but if it is present in a request to server it will be ignored.InstructionInfo.Builder
setName(java.lang.String name)
Instruction name This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofInstructionInfo
.
-
-
Method Detail
-
setActions
public InstructionInfo.Builder setActions(java.util.List<java.lang.String> actions)
A list of actions that are to be applied to resources This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
actions
- New value for the property.
-
setFields
public InstructionInfo.Builder setFields(java.util.List<java.lang.String> fields)
A list of fields that are displayable to users in a table This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
fields
- New value for the property.
-
setId
public InstructionInfo.Builder setId(java.lang.String id)
UUID of the instruction This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
id
- New value for the property.
-
setName
public InstructionInfo.Builder setName(java.lang.String name)
Instruction name This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
name
- New value for the property.
-
build
public InstructionInfo build()
-
-