Package com.vmware.nsx_policy.model
Class SelectableResourceReference.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SelectableResourceReference.Builder
-
- Enclosing class:
- SelectableResourceReference
public static final class SelectableResourceReference.Builder extends java.lang.Object
Builder class forSelectableResourceReference
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSelectableResourceReference
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectableResourceReference
build()
SelectableResourceReference.Builder
setIsValid(java.lang.Boolean isValid)
Will be set to false if the referenced NSX resource has been deleted.SelectableResourceReference.Builder
setSelected(java.lang.Boolean selected)
Set to true if this resource has been selected to be acted uponSelectableResourceReference.Builder
setTargetDisplayName(java.lang.String targetDisplayName)
Display name of the NSX resource.SelectableResourceReference.Builder
setTargetId(java.lang.String targetId)
Identifier of the NSX resource.SelectableResourceReference.Builder
setTargetType(java.lang.String targetType)
Type of the NSX resource.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSelectableResourceReference
.
-
-
Method Detail
-
setIsValid
public SelectableResourceReference.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 SelectableResourceReference.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 SelectableResourceReference.Builder setTargetId(java.lang.String targetId)
Identifier of the NSX resource.- Parameters:
targetId
- New value for the property.
-
setTargetType
public SelectableResourceReference.Builder setTargetType(java.lang.String targetType)
Type of the NSX resource.- Parameters:
targetType
- New value for the property.
-
setSelected
public SelectableResourceReference.Builder setSelected(java.lang.Boolean selected)
Set to true if this resource has been selected to be acted upon- Parameters:
selected
- New value for the property.
-
build
public SelectableResourceReference build()
-
-