Package com.vmware.nsx_policy.model
Class OdsRunbookEnumParameter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OdsRunbookEnumParameter.Builder
-
- Enclosing class:
- OdsRunbookEnumParameter
public static final class OdsRunbookEnumParameter.Builder extends java.lang.Object
Builder class forOdsRunbookEnumParameter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofOdsRunbookEnumParameter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdsRunbookEnumParameter
build()
OdsRunbookEnumParameter.Builder
setDefaultValue(java.lang.String defaultValue)
Runbook argument will be set to this value if not provided.OdsRunbookEnumParameter.Builder
setMax(java.lang.String max)
Runbook argument is not allowed to set value bigger than this.OdsRunbookEnumParameter.Builder
setMembers(java.util.List<java.lang.String> members)
Member of enumeration for runbook parameter.OdsRunbookEnumParameter.Builder
setMin(java.lang.String min)
Runbook argument is not allowed to set value smaller than this.OdsRunbookEnumParameter.Builder
setName(java.lang.String name)
Runbook argument name.OdsRunbookEnumParameter.Builder
setOptional(java.lang.Boolean optional)
The flag that indicates whether the argument is optional.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOdsRunbookEnumParameter
.
-
-
Method Detail
-
setMembers
public OdsRunbookEnumParameter.Builder setMembers(java.util.List<java.lang.String> members)
Member of enumeration for runbook parameter. 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:
members
- New value for the property.
-
setDefaultValue
public OdsRunbookEnumParameter.Builder setDefaultValue(java.lang.String defaultValue)
Runbook argument will be set to this value if not provided. 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:
defaultValue
- New value for the property.
-
setMax
public OdsRunbookEnumParameter.Builder setMax(java.lang.String max)
Runbook argument is not allowed to set value bigger than this. 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:
max
- New value for the property.
-
setMin
public OdsRunbookEnumParameter.Builder setMin(java.lang.String min)
Runbook argument is not allowed to set value smaller than this. 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:
min
- New value for the property.
-
setName
public OdsRunbookEnumParameter.Builder setName(java.lang.String name)
Runbook argument 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.
-
setOptional
public OdsRunbookEnumParameter.Builder setOptional(java.lang.Boolean optional)
The flag that indicates whether the argument is optional. 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:
optional
- New value for the property.
-
build
public OdsRunbookEnumParameter build()
-
-