Package com.vmware.nsx_policy.model
Class DynamicPluginFileProperties.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DynamicPluginFileProperties.Builder
-
- Enclosing class:
- DynamicPluginFileProperties
public static final class DynamicPluginFileProperties.Builder extends java.lang.Object
Builder class forDynamicPluginFileProperties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDynamicPluginFileProperties
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicPluginFileProperties
build()
DynamicPluginFileProperties.Builder
setFileName(java.lang.String fileName)
File nameDynamicPluginFileProperties.Builder
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.DynamicPluginFileProperties.Builder
setPluginPath(java.lang.String pluginPath)
Plugin idDynamicPluginFileProperties.Builder
setSchema(java.lang.String schema)
Schema for this 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.DynamicPluginFileProperties.Builder
setSelf(SelfResourceLink self)
DynamicPluginFileProperties.Builder
setStatus(java.lang.String status)
Possible values are:DynamicPluginFileProperties.STATUS_SUCCESS
DynamicPluginFileProperties.STATUS_FAILURE
Upload status
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDynamicPluginFileProperties
.
-
-
Method Detail
-
setLinks
public DynamicPluginFileProperties.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
links
- New value for the property.
-
setSchema
public DynamicPluginFileProperties.Builder setSchema(java.lang.String schema)
Schema for this 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:
schema
- New value for the property.
-
setSelf
public DynamicPluginFileProperties.Builder setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
setFileName
public DynamicPluginFileProperties.Builder setFileName(java.lang.String fileName)
File name- Parameters:
fileName
- New value for the property.
-
setPluginPath
public DynamicPluginFileProperties.Builder setPluginPath(java.lang.String pluginPath)
Plugin id- Parameters:
pluginPath
- New value for the property.
-
setStatus
public DynamicPluginFileProperties.Builder setStatus(java.lang.String status)
Possible values are: Upload status- Parameters:
status
- New value for the property.
-
build
public DynamicPluginFileProperties build()
-
-