Package com.vmware.nsx_policy.model
Class DiscoveredResourceScope.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DiscoveredResourceScope.Builder
-
- Enclosing class:
- DiscoveredResourceScope
public static final class DiscoveredResourceScope.Builder extends java.lang.Object
Builder class forDiscoveredResourceScope
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDiscoveredResourceScope
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveredResourceScope
build()
DiscoveredResourceScope.Builder
setScopeId(java.lang.String scopeId)
Specifies the scope id of discovered resource.DiscoveredResourceScope.Builder
setScopeType(java.lang.String scopeType)
Possible values are:DiscoveredResourceScope.SCOPE_TYPE_CONTAINER_CLUSTER
DiscoveredResourceScope.SCOPE_TYPE_VPC
Type of the scope for the discovered resource.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDiscoveredResourceScope
.
-
-
Method Detail
-
setScopeId
public DiscoveredResourceScope.Builder setScopeId(java.lang.String scopeId)
Specifies the scope id of discovered resource.- Parameters:
scopeId
- New value for the property.
-
setScopeType
public DiscoveredResourceScope.Builder setScopeType(java.lang.String scopeType)
Possible values are: Type of the scope for the discovered resource.- Parameters:
scopeType
- New value for the property.
-
build
public DiscoveredResourceScope build()
-
-