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