Class ContainerFileInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ContainerFileInfo
-
public class ContainerFileInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ContainerFileInfo()ContainerFileInfo(ContainerFileInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContainer()Get 容器名称String[]getCustomLabels()Get metadata信息 注意:此字段可能返回 null,表示取不到有效值。String[]getExcludeLabels()Get 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。StringgetExcludeNamespace()Get 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。FilePathInfo[]getFilePaths()Get 日志文件信息StringgetFilePattern()Get 日志名称String[]getIncludeLabels()Get pod标签信息 注意:此字段可能返回 null,表示取不到有效值。StringgetLogPath()Get 日志文件夹StringgetNamespace()Get namespace可以多个,用分隔号分割,例如A,BContainerWorkLoadInfogetWorkLoad()Get 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。voidsetContainer(String Container)Set 容器名称voidsetCustomLabels(String[] CustomLabels)Set metadata信息 注意:此字段可能返回 null,表示取不到有效值。voidsetExcludeLabels(String[] ExcludeLabels)Set 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。voidsetExcludeNamespace(String ExcludeNamespace)Set 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。voidsetFilePaths(FilePathInfo[] FilePaths)Set 日志文件信息voidsetFilePattern(String FilePattern)Set 日志名称voidsetIncludeLabels(String[] IncludeLabels)Set pod标签信息 注意:此字段可能返回 null,表示取不到有效值。voidsetLogPath(String LogPath)Set 日志文件夹voidsetNamespace(String Namespace)Set namespace可以多个,用分隔号分割,例如A,BvoidsetWorkLoad(ContainerWorkLoadInfo WorkLoad)Set 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ContainerFileInfo
public ContainerFileInfo()
-
ContainerFileInfo
public ContainerFileInfo(ContainerFileInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getNamespace
public String getNamespace()
Get namespace可以多个,用分隔号分割,例如A,B- Returns:
- Namespace namespace可以多个,用分隔号分割,例如A,B
-
setNamespace
public void setNamespace(String Namespace)
Set namespace可以多个,用分隔号分割,例如A,B- Parameters:
Namespace- namespace可以多个,用分隔号分割,例如A,B
-
getContainer
public String getContainer()
Get 容器名称- Returns:
- Container 容器名称
-
setContainer
public void setContainer(String Container)
Set 容器名称- Parameters:
Container- 容器名称
-
getLogPath
public String getLogPath()
Get 日志文件夹- Returns:
- LogPath 日志文件夹
-
setLogPath
public void setLogPath(String LogPath)
Set 日志文件夹- Parameters:
LogPath- 日志文件夹
-
getFilePattern
public String getFilePattern()
Get 日志名称- Returns:
- FilePattern 日志名称
-
setFilePattern
public void setFilePattern(String FilePattern)
Set 日志名称- Parameters:
FilePattern- 日志名称
-
getFilePaths
public FilePathInfo[] getFilePaths()
Get 日志文件信息- Returns:
- FilePaths 日志文件信息
-
setFilePaths
public void setFilePaths(FilePathInfo[] FilePaths)
Set 日志文件信息- Parameters:
FilePaths- 日志文件信息
-
getIncludeLabels
public String[] getIncludeLabels()
Get pod标签信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IncludeLabels pod标签信息 注意:此字段可能返回 null,表示取不到有效值。
-
setIncludeLabels
public void setIncludeLabels(String[] IncludeLabels)
Set pod标签信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IncludeLabels- pod标签信息 注意:此字段可能返回 null,表示取不到有效值。
-
getWorkLoad
public ContainerWorkLoadInfo getWorkLoad()
Get 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- WorkLoad 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。
-
setWorkLoad
public void setWorkLoad(ContainerWorkLoadInfo WorkLoad)
Set 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
WorkLoad- 工作负载信息 注意:此字段可能返回 null,表示取不到有效值。
-
getExcludeNamespace
public String getExcludeNamespace()
Get 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExcludeNamespace 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。
-
setExcludeNamespace
public void setExcludeNamespace(String ExcludeNamespace)
Set 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExcludeNamespace- 需要排除的namespace可以多个,用分隔号分割,例如A,B 注意:此字段可能返回 null,表示取不到有效值。
-
getExcludeLabels
public String[] getExcludeLabels()
Get 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExcludeLabels 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。
-
setExcludeLabels
public void setExcludeLabels(String[] ExcludeLabels)
Set 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExcludeLabels- 需要排除的pod标签信息 注意:此字段可能返回 null,表示取不到有效值。
-
getCustomLabels
public String[] getCustomLabels()
Get metadata信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CustomLabels metadata信息 注意:此字段可能返回 null,表示取不到有效值。
-
setCustomLabels
public void setCustomLabels(String[] CustomLabels)
Set metadata信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CustomLabels- metadata信息 注意:此字段可能返回 null,表示取不到有效值。
-
-