Package com.vmware.nsx_policy.model
Class OdsRunbookPatternParameter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OdsRunbookPatternParameter.Builder
-
- Enclosing class:
- OdsRunbookPatternParameter
public static final class OdsRunbookPatternParameter.Builder extends java.lang.ObjectBuilder class forOdsRunbookPatternParameter.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofOdsRunbookPatternParameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdsRunbookPatternParameterbuild()OdsRunbookPatternParameter.BuildersetDefaultValue(java.lang.String defaultValue)Runbook argument will be set to this value if not provided.OdsRunbookPatternParameter.BuildersetMax(java.lang.String max)Runbook argument is not allowed to set value bigger than this.OdsRunbookPatternParameter.BuildersetMin(java.lang.String min)Runbook argument is not allowed to set value smaller than this.OdsRunbookPatternParameter.BuildersetName(java.lang.String name)Runbook argument name.OdsRunbookPatternParameter.BuildersetOptional(java.lang.Boolean optional)The flag that indicates whether the argument is optional.OdsRunbookPatternParameter.BuildersetPattern(java.lang.String pattern)Regular expression of pattern for runbook parameter.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOdsRunbookPatternParameter.
-
-
Method Detail
-
setPattern
public OdsRunbookPatternParameter.Builder setPattern(java.lang.String pattern)
Regular expression of pattern for runbook parameter. If the parameter does not match this pattern, API call will be rejected. 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:
pattern- New value for the property.
-
setDefaultValue
public OdsRunbookPatternParameter.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 OdsRunbookPatternParameter.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 OdsRunbookPatternParameter.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 OdsRunbookPatternParameter.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 OdsRunbookPatternParameter.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 OdsRunbookPatternParameter build()
-
-