public static final class SupportBundleRequest.Builder
extends java.lang.Object
SupportBundleRequest.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SupportBundleRequest. |
| Modifier and Type | Method and Description |
|---|---|
SupportBundleRequest |
build() |
SupportBundleRequest.Builder |
setContainerNodes(java.util.List<com.vmware.vapi.bindings.Structure> containerNodes)
List of container clusters and their nodes requiring support bundle collection
|
SupportBundleRequest.Builder |
setContentFilters(java.util.List<java.lang.String> contentFilters)
|
SupportBundleRequest.Builder |
setDynamicContentFilters(java.util.List<java.lang.String> dynamicContentFilters)
List of dynamic content filters that specify additional content to include in
the support bundle.
|
SupportBundleRequest.Builder |
setLogAgeLimit(java.lang.Long logAgeLimit)
Include log files with modified times not past the age limit in days format:
int64
|
SupportBundleRequest.Builder |
setNodes(java.util.List<java.lang.String> nodes)
List of cluster/fabric node UUIDs processed in specified order
|
SupportBundleRequest.Builder |
setRemoteFileServer(SupportBundleRemoteFileServer remoteFileServer) |
public Builder()
SupportBundleRequest.public SupportBundleRequest.Builder setContainerNodes(java.util.List<com.vmware.vapi.bindings.Structure> containerNodes)
containerNodes - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in SupportBundleContainerNode. When methods return a value of
this class as a return value, the property will contain all the properties
defined in SupportBundleContainerNode.public SupportBundleRequest.Builder setContentFilters(java.util.List<java.lang.String> contentFilters)
SupportBundleRequest.CONTENT_FILTERS_ALLSupportBundleRequest.CONTENT_FILTERS_DEFAULTSupportBundleRequest.CONTENT_FILTERS_REMOVE_CORE_FILESSupportBundleRequest.CONTENT_FILTERS_EAL4_AUDITList of content filters that specify additional content or action when collecting support bundle.
ALL includes core
dumps and audit logs in support bundleREMOVE_CORE_FILES can optionally be in list with ALL,
to remove core dump files after collected in support bundleEAL4_AUDIT can optionally be in list to collect pre-defined
selective log files. The selected log files are deleted from the support bundle
if the files have not been modified in the last 4 hours.By
default no core dumps and audit logs are included in support bundle with filter
DEFAULT.
No other content-filters can be added along with
EAL4_AUDIT content-filter
When content-filter
EAL4_AUDIT is added, the log_age_limit field is disabled.
Note, REMOVE_CORE_FILES is limited to NSX appliance nodes
only.
contentFilters - New value for the property.public SupportBundleRequest.Builder setDynamicContentFilters(java.util.List<java.lang.String> dynamicContentFilters)
dynamicContentFilters - New value for the property.public SupportBundleRequest.Builder setLogAgeLimit(java.lang.Long logAgeLimit)
logAgeLimit - New value for the property.public SupportBundleRequest.Builder setNodes(java.util.List<java.lang.String> nodes)
nodes - New value for the property.public SupportBundleRequest.Builder setRemoteFileServer(SupportBundleRemoteFileServer remoteFileServer)
remoteFileServer - New value for the property.public SupportBundleRequest build()