Package com.vmware.nsx_policy.model
Class SubjectAltNames.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SubjectAltNames.Builder
-
- Enclosing class:
- SubjectAltNames
public static final class SubjectAltNames.Builder extends java.lang.Object
Builder class forSubjectAltNames
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSubjectAltNames
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectAltNames
build()
SubjectAltNames.Builder
setDnsNames(java.util.List<java.lang.String> dnsNames)
A list of DNS names in subject alternative names format: hostname This property may be present in responses from the server, but if it is present in a request to server it will be ignored.SubjectAltNames.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
A list of IP addresses in subject alternative names This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSubjectAltNames
.
-
-
Method Detail
-
setDnsNames
public SubjectAltNames.Builder setDnsNames(java.util.List<java.lang.String> dnsNames)
A list of DNS names in subject alternative names format: hostname 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:
dnsNames
- New value for the property.
-
setIpAddresses
public SubjectAltNames.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
A list of IP addresses in subject alternative names 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:
ipAddresses
- New value for the property.
-
build
public SubjectAltNames build()
-
-