Class PolicyResourceReference.Builder

    • Constructor Detail

    • Method Detail

      • setIsValid

        public PolicyResourceReference.Builder setIsValid​(java.lang.Boolean isValid)
        Will be set to false if the referenced NSX resource has been deleted. 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:
        isValid - New value for the property.
      • setTargetDisplayName

        public PolicyResourceReference.Builder setTargetDisplayName​(java.lang.String targetDisplayName)
        Display name of the NSX resource. 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:
        targetDisplayName - New value for the property.
      • setTargetId

        public PolicyResourceReference.Builder setTargetId​(java.lang.String targetId)
        Identifier of the NSX resource.
        Parameters:
        targetId - New value for the property.
      • setTargetType

        public PolicyResourceReference.Builder setTargetType​(java.lang.String targetType)
        Type of the NSX resource.
        Parameters:
        targetType - New value for the property.
      • setOwnerId

        public PolicyResourceReference.Builder setOwnerId​(java.lang.String ownerId)
        This is a UUID generated by the system for knowing who owns this resource. This is used in NSX+. 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:
        ownerId - New value for the property.
      • setPath

        public PolicyResourceReference.Builder setPath​(java.lang.String path)
        Absolute path of this object. 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:
        path - New value for the property.
      • setProjectScope

        public PolicyResourceReference.Builder setProjectScope​(java.util.List<java.lang.String> projectScope)
        Project scope of policy resource 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:
        projectScope - New value for the property.