Package io.prismacloud.iac.commons.model
Class IacTemplateParameters
- java.lang.Object
-
- io.prismacloud.iac.commons.model.IacTemplateParameters
-
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2021-01-26T11:29:52.304914+05:30[Asia/Kolkata]") public class IacTemplateParameters extends Object
IacTemplateParameters
-
-
Constructor Summary
Constructors Constructor Description IacTemplateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IacTemplateParametersaddFilesItem(String filesItem)IacTemplateParametersaddFoldersItem(String foldersItem)IacTemplateParametersaddPolicyIdFiltersItem(String policyIdFiltersItem)IacTemplateParametersaddVariableFilesItem(String variableFilesItem)booleanequals(Object o)IacTemplateParametersfiles(List<String> files)IacTemplateParametersfolders(List<String> folders)List<String>getFiles()If you specify file paths, the IaC scan service will evaluate only files in this list.List<String>getFolders()If you specify folder paths, the IaC scan service will evaluate only folders in the list.List<String>getPolicyIdFilters()If list is populated, IaC scan service will evaluate with only policies that have IDs in this listList<String>getVariableFiles()Names of template variable files inside the template package to be used.Map<String,String>getVariables()Template variables and values list to be used for evaluationinthashCode()BooleanisScanPlanFilesOnly()If you specify this option, the IaC scan service will evaluate only the plan files and ignore the restIacTemplateParameterspolicyIdFilters(List<String> policyIdFilters)IacTemplateParametersputVariablesItem(String key, String variablesItem)IacTemplateParametersscanPlanFilesOnly(Boolean scanPlanFilesOnly)voidsetFiles(List<String> files)voidsetFolders(List<String> folders)voidsetPolicyIdFilters(List<String> policyIdFilters)voidsetScanPlanFilesOnly(Boolean scanPlanFilesOnly)voidsetVariableFiles(List<String> variableFiles)voidsetVariables(Map<String,String> variables)StringtoString()IacTemplateParametersvariableFiles(List<String> variableFiles)IacTemplateParametersvariables(Map<String,String> variables)
-
-
-
Method Detail
-
variables
public IacTemplateParameters variables(Map<String,String> variables)
-
putVariablesItem
public IacTemplateParameters putVariablesItem(String key, String variablesItem)
-
getVariables
public Map<String,String> getVariables()
Template variables and values list to be used for evaluation- Returns:
- variables
-
variableFiles
public IacTemplateParameters variableFiles(List<String> variableFiles)
-
addVariableFilesItem
public IacTemplateParameters addVariableFilesItem(String variableFilesItem)
-
getVariableFiles
public List<String> getVariableFiles()
Names of template variable files inside the template package to be used. Specify file path relative to the root of the zip file you uploaded- Returns:
- variableFiles
-
policyIdFilters
public IacTemplateParameters policyIdFilters(List<String> policyIdFilters)
-
addPolicyIdFiltersItem
public IacTemplateParameters addPolicyIdFiltersItem(String policyIdFiltersItem)
-
getPolicyIdFilters
public List<String> getPolicyIdFilters()
If list is populated, IaC scan service will evaluate with only policies that have IDs in this list- Returns:
- policyIdFilters
-
files
public IacTemplateParameters files(List<String> files)
-
addFilesItem
public IacTemplateParameters addFilesItem(String filesItem)
-
getFiles
public List<String> getFiles()
If you specify file paths, the IaC scan service will evaluate only files in this list. Specify file paths relative to the root of the zip file you uploaded- Returns:
- files
-
folders
public IacTemplateParameters folders(List<String> folders)
-
addFoldersItem
public IacTemplateParameters addFoldersItem(String foldersItem)
-
getFolders
public List<String> getFolders()
If you specify folder paths, the IaC scan service will evaluate only folders in the list. Specify folder paths relative to the root of the zip file you uploaded- Returns:
- folders
-
scanPlanFilesOnly
public IacTemplateParameters scanPlanFilesOnly(Boolean scanPlanFilesOnly)
-
isScanPlanFilesOnly
public Boolean isScanPlanFilesOnly()
If you specify this option, the IaC scan service will evaluate only the plan files and ignore the rest- Returns:
- scanPlanFilesOnly
-
setScanPlanFilesOnly
public void setScanPlanFilesOnly(Boolean scanPlanFilesOnly)
-
-