Class OdsRunbookPatternParameter.Builder

    • 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.