in src/main/java/CodeBuilder.java [136:201]
public CodeBuilder(String credentialsType, String credentialsId, String proxyHost, String proxyPort, String awsAccessKey, Secret awsSecretKey, String awsSessionToken,
String region, String projectName, String sourceVersion, String sseAlgorithm, String sourceControlType, String localSourcePath, String workspaceSubdir, String gitCloneDepthOverride,
String reportBuildStatusOverride, String secondarySourcesOverride, String secondarySourcesVersionOverride, String artifactTypeOverride, String artifactLocationOverride, String artifactNameOverride, String artifactNamespaceOverride,
String artifactPackagingOverride, String artifactPathOverride, String artifactEncryptionDisabledOverride, String overrideArtifactName, String secondaryArtifactsOverride,
String envVariables, String envParameters, String buildSpecFile, String buildTimeoutOverride, String sourceTypeOverride,
String sourceLocationOverride, String environmentTypeOverride, String imageOverride, String computeTypeOverride,
String cacheTypeOverride, String cacheLocationOverride, String cacheModesOverride, String cloudWatchLogsStatusOverride, String cloudWatchLogsGroupNameOverride, String cloudWatchLogsStreamNameOverride,
String s3LogsStatusOverride, String s3LogsEncryptionDisabledOverride, String s3LogsLocationOverride, String certificateOverride, String serviceRoleOverride,
String insecureSslOverride, String privilegedModeOverride, String cwlStreamingDisabled, String exceptionFailureMode, String downloadArtifacts, String downloadArtifactsRelativePath) {
this.credentialsType = sanitize(credentialsType);
this.credentialsId = sanitize(credentialsId);
this.proxyHost = sanitize(proxyHost);
this.proxyPort = sanitize(proxyPort);
this.awsAccessKey = sanitize(awsAccessKey);
this.awsSecretKey = awsSecretKey;
this.awsSessionToken = sanitize(awsSessionToken);
this.region = sanitize(region);
this.projectName = sanitize(projectName);
this.sourceControlType = sanitize(sourceControlType);
this.localSourcePath = sanitize(localSourcePath);
this.workspaceSubdir = sanitize(workspaceSubdir);
this.sourceVersion = sanitize(sourceVersion);
this.sseAlgorithm = sanitize(sseAlgorithm);
this.gitCloneDepthOverride = sanitize(gitCloneDepthOverride);
this.reportBuildStatusOverride = sanitize(reportBuildStatusOverride);
this.secondarySourcesOverride = decodeJSON(sanitize(secondarySourcesOverride));
this.secondarySourcesVersionOverride = decodeJSON(sanitize(secondarySourcesVersionOverride));
this.artifactTypeOverride = sanitize(artifactTypeOverride);
this.artifactLocationOverride = sanitize(artifactLocationOverride);
this.artifactNameOverride = sanitize(artifactNameOverride);
this.artifactNamespaceOverride = sanitize(artifactNamespaceOverride);
this.artifactPackagingOverride = sanitize(artifactPackagingOverride);
this.artifactPathOverride = sanitize(artifactPathOverride);
this.artifactEncryptionDisabledOverride = sanitize(artifactEncryptionDisabledOverride);
this.overrideArtifactName = sanitize(overrideArtifactName);
this.secondaryArtifactsOverride = decodeJSON(sanitize(secondaryArtifactsOverride));
this.sourceTypeOverride = sanitize(sourceTypeOverride);
this.sourceLocationOverride = sanitize(sourceLocationOverride);
this.environmentTypeOverride = sanitize(environmentTypeOverride);
this.imageOverride = sanitize(imageOverride);
this.computeTypeOverride = sanitize(computeTypeOverride);
this.cacheTypeOverride = sanitize(cacheTypeOverride);
this.cacheLocationOverride = sanitize(cacheLocationOverride);
this.cacheModesOverride = sanitize(cacheModesOverride);
this.cloudWatchLogsStatusOverride = sanitize(cloudWatchLogsStatusOverride);
this.cloudWatchLogsGroupNameOverride = sanitize(cloudWatchLogsGroupNameOverride);
this.cloudWatchLogsStreamNameOverride = sanitize(cloudWatchLogsStreamNameOverride);
this.s3LogsStatusOverride = sanitize(s3LogsStatusOverride);
this.s3LogsEncryptionDisabledOverride = sanitize(s3LogsEncryptionDisabledOverride);
this.s3LogsLocationOverride = sanitize(s3LogsLocationOverride);
this.certificateOverride = sanitize(certificateOverride);
this.serviceRoleOverride = sanitize(serviceRoleOverride);
this.envVariables = sanitize(envVariables);
this.envParameters = sanitize(envParameters);
this.buildSpecFile = sanitizeYAML(buildSpecFile);
this.buildTimeoutOverride = sanitize(buildTimeoutOverride);
this.insecureSslOverride = sanitize(insecureSslOverride);
this.privilegedModeOverride = sanitize(privilegedModeOverride);
this.cwlStreamingDisabled = sanitize(cwlStreamingDisabled);
this.exceptionFailureMode = sanitize(exceptionFailureMode);
this.downloadArtifacts = sanitize(downloadArtifacts);
this.downloadArtifactsRelativePath = sanitize(downloadArtifactsRelativePath);
this.codeBuildResult = new CodeBuildResult();
this.batchGetBuildsCalls = 0;
}