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 IacTemplateParameters
addFilesItem(String filesItem)
IacTemplateParameters
addFoldersItem(String foldersItem)
IacTemplateParameters
addPolicyIdFiltersItem(String policyIdFiltersItem)
IacTemplateParameters
addVariableFilesItem(String variableFilesItem)
boolean
equals(Object o)
IacTemplateParameters
files(List<String> files)
IacTemplateParameters
folders(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 evaluationint
hashCode()
Boolean
isScanPlanFilesOnly()
If you specify this option, the IaC scan service will evaluate only the plan files and ignore the restIacTemplateParameters
policyIdFilters(List<String> policyIdFilters)
IacTemplateParameters
putVariablesItem(String key, String variablesItem)
IacTemplateParameters
scanPlanFilesOnly(Boolean scanPlanFilesOnly)
void
setFiles(List<String> files)
void
setFolders(List<String> folders)
void
setPolicyIdFilters(List<String> policyIdFilters)
void
setScanPlanFilesOnly(Boolean scanPlanFilesOnly)
void
setVariableFiles(List<String> variableFiles)
void
setVariables(Map<String,String> variables)
String
toString()
IacTemplateParameters
variableFiles(List<String> variableFiles)
IacTemplateParameters
variables(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)
-
-