Package com.vmware.nsx_policy.model
Class PolicyResourceReferenceForEP.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyResourceReferenceForEP.Builder
-
- Enclosing class:
- PolicyResourceReferenceForEP
public static final class PolicyResourceReferenceForEP.Builder extends java.lang.Object
Builder class forPolicyResourceReferenceForEP
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyResourceReferenceForEP
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyResourceReferenceForEP
build()
PolicyResourceReferenceForEP.Builder
setIsValid(java.lang.Boolean isValid)
Will be set to false if the referenced NSX resource has been deleted.PolicyResourceReferenceForEP.Builder
setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns this group.PolicyResourceReferenceForEP.Builder
setOwnerId(java.lang.String ownerId)
This is a UUID generated by the system for knowing who owns this resource.PolicyResourceReferenceForEP.Builder
setPath(java.lang.String path)
Absolute path of this object.PolicyResourceReferenceForEP.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.PolicyResourceReferenceForEP.Builder
setRemotePath(java.lang.String remotePath)
This is the path of the object on the local managers when queried on the NSX+ service, and path of the object on NSX+ service when queried from the local managers.PolicyResourceReferenceForEP.Builder
setTargetDisplayName(java.lang.String targetDisplayName)
Display name of the NSX resource.PolicyResourceReferenceForEP.Builder
setTargetId(java.lang.String targetId)
Identifier of the NSX resource.PolicyResourceReferenceForEP.Builder
setTargetType(java.lang.String targetType)
Type of the NSX resource.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyResourceReferenceForEP
.
-
-
Method Detail
-
setIsValid
public PolicyResourceReferenceForEP.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 PolicyResourceReferenceForEP.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 PolicyResourceReferenceForEP.Builder setTargetId(java.lang.String targetId)
Identifier of the NSX resource.- Parameters:
targetId
- New value for the property.
-
setTargetType
public PolicyResourceReferenceForEP.Builder setTargetType(java.lang.String targetType)
Type of the NSX resource.- Parameters:
targetType
- New value for the property.
-
setOwnerId
public PolicyResourceReferenceForEP.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 PolicyResourceReferenceForEP.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 PolicyResourceReferenceForEP.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.
-
setOriginSiteId
public PolicyResourceReferenceForEP.Builder setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns this group. 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:
originSiteId
- New value for the property.
-
setRemotePath
public PolicyResourceReferenceForEP.Builder setRemotePath(java.lang.String remotePath)
This is the path of the object on the local managers when queried on the NSX+ service, and path of the object on NSX+ service when queried from the local managers. 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:
remotePath
- New value for the property.
-
build
public PolicyResourceReferenceForEP build()
-
-