Package com.vmware.nsx_policy.model
Class OdsRunbookStringParameter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OdsRunbookStringParameter.Builder
-
- Enclosing class:
- OdsRunbookStringParameter
public static final class OdsRunbookStringParameter.Builder extends java.lang.Object
Builder class forOdsRunbookStringParameter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofOdsRunbookStringParameter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdsRunbookStringParameter
build()
OdsRunbookStringParameter.Builder
setDefaultValue(java.lang.String defaultValue)
Runbook argument will be set to this value if not provided.OdsRunbookStringParameter.Builder
setMax(java.lang.String max)
Runbook argument is not allowed to set value bigger than this.OdsRunbookStringParameter.Builder
setMin(java.lang.String min)
Runbook argument is not allowed to set value smaller than this.OdsRunbookStringParameter.Builder
setName(java.lang.String name)
Runbook argument name.OdsRunbookStringParameter.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 ofOdsRunbookStringParameter
.
-
-
Method Detail
-
setDefaultValue
public OdsRunbookStringParameter.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 OdsRunbookStringParameter.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 OdsRunbookStringParameter.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 OdsRunbookStringParameter.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 OdsRunbookStringParameter.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 OdsRunbookStringParameter build()
-
-