public static final class TargetEntities.Builder
extends java.lang.Object
TargetEntities
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
TargetEntities . |
Modifier and Type | Method and Description |
---|---|
TargetEntities |
build() |
TargetEntities.Builder |
setVmNamePatterns(java.util.List<java.lang.String> vmNamePatterns)
One or more match patterns for virtual machines to be protected.
|
TargetEntities.Builder |
setVms(java.util.Set<java.lang.String> vms)
List of virtual machines to be protected.
|
public Builder()
TargetEntities
.public TargetEntities.Builder setVmNamePatterns(java.util.List<java.lang.String> vmNamePatterns)
Uses standard POSIX Shell globbing pattern. See also, the POSIX Shell language: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13_01
Ifnull
, TargetEntities.getVms()
must be
specified.vmNamePatterns
- New value for the property.public TargetEntities.Builder setVms(java.util.Set<java.lang.String> vms)
null
, the virtual machines to be protected will be determined based
on the TargetEntities.getVmNamePatterns()
.vms
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: VirtualMachine
. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: VirtualMachine
.public TargetEntities build()