Package com.vmware.nsx_policy.model
Class PolicySubAttributes.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicySubAttributes.Builder
-
- Enclosing class:
- PolicySubAttributes
public static final class PolicySubAttributes.Builder extends java.lang.Object
Builder class forPolicySubAttributes
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicySubAttributes
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicySubAttributes
build()
PolicySubAttributes.Builder
setDatatype(java.lang.String datatype)
Possible values are:PolicySubAttributes.DATATYPE_STRING
Datatype for sub attributePolicySubAttributes.Builder
setKey(java.lang.String key)
Possible values are:PolicySubAttributes.KEY_TLS_CIPHER_SUITE
PolicySubAttributes.KEY_TLS_VERSION
PolicySubAttributes.KEY_CIFS_SMB_VERSION
Key for sub attributePolicySubAttributes.Builder
setValue(java.util.List<java.lang.String> value)
Multiple sub attribute values can be specified as elements of array.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicySubAttributes
.
-
-
Method Detail
-
setDatatype
public PolicySubAttributes.Builder setDatatype(java.lang.String datatype)
Possible values are: Datatype for sub attribute- Parameters:
datatype
- New value for the property.
-
setKey
public PolicySubAttributes.Builder setKey(java.lang.String key)
Possible values are: Key for sub attribute- Parameters:
key
- New value for the property.
-
setValue
public PolicySubAttributes.Builder setValue(java.util.List<java.lang.String> value)
Multiple sub attribute values can be specified as elements of array.- Parameters:
value
- New value for the property.
-
build
public PolicySubAttributes build()
-
-