Package com.vmware.nsx_policy.model
Class Resource.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Resource.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
build()
Resource.Builder
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.Resource.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.Resource.Builder
setSelf(SelfResourceLink self)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofResource
.
-
-
Method Detail
-
setLinks
public Resource.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 Resource.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 Resource.Builder setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
build
public Resource build()
-
-