com.pulumi.aws.securityhub.outputs.AutomationRuleCriteria Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.securityhub.outputs;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaAwsAccountId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaAwsAccountName;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaCompanyName;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaComplianceAssociatedStandardsId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaComplianceSecurityControlId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaComplianceStatus;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaConfidence;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaCreatedAt;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaCriticality;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaDescription;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaFirstObservedAt;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaGeneratorId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaLastObservedAt;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaNoteText;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaNoteUpdatedAt;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaNoteUpdatedBy;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaProductArn;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaProductName;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaRecordState;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaRelatedFindingsId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaRelatedFindingsProductArn;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceApplicationArn;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceApplicationName;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceDetailsOther;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceId;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourcePartition;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceRegion;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceTag;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaResourceType;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaSeverityLabel;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaSourceUrl;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaTitle;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaType;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaUpdatedAt;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaUserDefinedField;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaVerificationState;
import com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaWorkflowStatus;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class AutomationRuleCriteria {
/**
* @return The AWS account ID in which a finding was generated. Documented below.
*
*/
private @Nullable List awsAccountIds;
/**
* @return The name of the AWS account in which a finding was generated. Documented below.
*
*/
private @Nullable List awsAccountNames;
/**
* @return The name of the company for the product that generated the finding. For control-based findings, the company is AWS. Documented below.
*
*/
private @Nullable List companyNames;
/**
* @return The unique identifier of a standard in which a control is enabled. Documented below.
*
*/
private @Nullable List complianceAssociatedStandardsIds;
/**
* @return The security control ID for which a finding was generated. Security control IDs are the same across standards. Documented below.
*
*/
private @Nullable List complianceSecurityControlIds;
/**
* @return The result of a security check. This field is only used for findings generated from controls. Documented below.
*
*/
private @Nullable List complianceStatuses;
/**
* @return The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. `Confidence` is scored on a 0–100 basis using a ratio scale. A value of `0` means 0 percent confidence, and a value of `100` means 100 percent confidence. Documented below.
*
*/
private @Nullable List confidences;
/**
* @return A timestamp that indicates when this finding record was created. Documented below.
*
*/
private @Nullable List createdAts;
/**
* @return The level of importance that is assigned to the resources that are associated with a finding. Documented below.
*
*/
private @Nullable List criticalities;
/**
* @return A finding's description. Documented below.
*
*/
private @Nullable List descriptions;
/**
* @return A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product. Documented below.
*
*/
private @Nullable List firstObservedAts;
/**
* @return The identifier for the solution-specific component that generated a finding. Documented below.
*
*/
private @Nullable List generatorIds;
/**
* @return The product-specific identifier for a finding. Documented below.
*
*/
private @Nullable List ids;
/**
* @return A timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings product. Documented below.
*
*/
private @Nullable List lastObservedAts;
/**
* @return The text of a user-defined note that's added to a finding. Documented below.
*
*/
private @Nullable List noteTexts;
/**
* @return The timestamp of when the note was updated. Documented below.
*
*/
private @Nullable List noteUpdatedAts;
/**
* @return The principal that created a note. Documented below.
*
*/
private @Nullable List noteUpdatedBies;
/**
* @return The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub. Documented below.
*
*/
private @Nullable List productArns;
/**
* @return Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub. Documented below.
*
*/
private @Nullable List productNames;
/**
* @return Provides the current state of a finding. Documented below.
*
*/
private @Nullable List recordStates;
/**
* @return The product-generated identifier for a related finding. Documented below.
*
*/
private @Nullable List relatedFindingsIds;
/**
* @return The ARN for the product that generated a related finding. Documented below.
*
*/
private @Nullable List relatedFindingsProductArns;
/**
* @return The Amazon Resource Name (ARN) of the application that is related to a finding. Documented below.
*
*/
private @Nullable List resourceApplicationArns;
/**
* @return The name of the application that is related to a finding. Documented below.
*
*/
private @Nullable List resourceApplicationNames;
/**
* @return Custom fields and values about the resource that a finding pertains to. Documented below.
*
*/
private @Nullable List resourceDetailsOthers;
/**
* @return The identifier for the given resource type. For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS service that created the resource. For non-AWS resources, this is a unique identifier that is associated with the resource. Documented below.
*
*/
private @Nullable List resourceIds;
/**
* @return The partition in which the resource that the finding pertains to is located. A partition is a group of AWS Regions. Each AWS account is scoped to one partition. Documented below.
*
*/
private @Nullable List resourcePartitions;
/**
* @return The AWS Region where the resource that a finding pertains to is located. Documented below.
*
*/
private @Nullable List resourceRegions;
/**
* @return A list of AWS tags associated with a resource at the time the finding was processed. Documented below.
*
*/
private @Nullable List resourceTags;
/**
* @return The type of resource that the finding pertains to. Documented below.
*
*/
private @Nullable List resourceTypes;
/**
* @return The severity value of the finding. Documented below.
*
*/
private @Nullable List severityLabels;
/**
* @return Provides a URL that links to a page about the current finding in the finding product. Documented below.
*
*/
private @Nullable List sourceUrls;
/**
* @return A finding's title. Documented below.
*
*/
private @Nullable List titles;
/**
* @return One or more finding types in the format of namespace/category/classifier that classify a finding. Documented below.
*
*/
private @Nullable List types;
/**
* @return A timestamp that indicates when the finding record was most recently updated. Documented below.
*
*/
private @Nullable List updatedAts;
/**
* @return A list of user-defined name and value string pairs added to a finding. Documented below.
*
*/
private @Nullable List userDefinedFields;
/**
* @return Provides the veracity of a finding. Documented below.
*
*/
private @Nullable List verificationStates;
/**
* @return Provides information about the status of the investigation into a finding. Documented below.
*
*/
private @Nullable List workflowStatuses;
private AutomationRuleCriteria() {}
/**
* @return The AWS account ID in which a finding was generated. Documented below.
*
*/
public List awsAccountIds() {
return this.awsAccountIds == null ? List.of() : this.awsAccountIds;
}
/**
* @return The name of the AWS account in which a finding was generated. Documented below.
*
*/
public List awsAccountNames() {
return this.awsAccountNames == null ? List.of() : this.awsAccountNames;
}
/**
* @return The name of the company for the product that generated the finding. For control-based findings, the company is AWS. Documented below.
*
*/
public List companyNames() {
return this.companyNames == null ? List.of() : this.companyNames;
}
/**
* @return The unique identifier of a standard in which a control is enabled. Documented below.
*
*/
public List complianceAssociatedStandardsIds() {
return this.complianceAssociatedStandardsIds == null ? List.of() : this.complianceAssociatedStandardsIds;
}
/**
* @return The security control ID for which a finding was generated. Security control IDs are the same across standards. Documented below.
*
*/
public List complianceSecurityControlIds() {
return this.complianceSecurityControlIds == null ? List.of() : this.complianceSecurityControlIds;
}
/**
* @return The result of a security check. This field is only used for findings generated from controls. Documented below.
*
*/
public List complianceStatuses() {
return this.complianceStatuses == null ? List.of() : this.complianceStatuses;
}
/**
* @return The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. `Confidence` is scored on a 0–100 basis using a ratio scale. A value of `0` means 0 percent confidence, and a value of `100` means 100 percent confidence. Documented below.
*
*/
public List confidences() {
return this.confidences == null ? List.of() : this.confidences;
}
/**
* @return A timestamp that indicates when this finding record was created. Documented below.
*
*/
public List createdAts() {
return this.createdAts == null ? List.of() : this.createdAts;
}
/**
* @return The level of importance that is assigned to the resources that are associated with a finding. Documented below.
*
*/
public List criticalities() {
return this.criticalities == null ? List.of() : this.criticalities;
}
/**
* @return A finding's description. Documented below.
*
*/
public List descriptions() {
return this.descriptions == null ? List.of() : this.descriptions;
}
/**
* @return A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product. Documented below.
*
*/
public List firstObservedAts() {
return this.firstObservedAts == null ? List.of() : this.firstObservedAts;
}
/**
* @return The identifier for the solution-specific component that generated a finding. Documented below.
*
*/
public List generatorIds() {
return this.generatorIds == null ? List.of() : this.generatorIds;
}
/**
* @return The product-specific identifier for a finding. Documented below.
*
*/
public List ids() {
return this.ids == null ? List.of() : this.ids;
}
/**
* @return A timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings product. Documented below.
*
*/
public List lastObservedAts() {
return this.lastObservedAts == null ? List.of() : this.lastObservedAts;
}
/**
* @return The text of a user-defined note that's added to a finding. Documented below.
*
*/
public List noteTexts() {
return this.noteTexts == null ? List.of() : this.noteTexts;
}
/**
* @return The timestamp of when the note was updated. Documented below.
*
*/
public List noteUpdatedAts() {
return this.noteUpdatedAts == null ? List.of() : this.noteUpdatedAts;
}
/**
* @return The principal that created a note. Documented below.
*
*/
public List noteUpdatedBies() {
return this.noteUpdatedBies == null ? List.of() : this.noteUpdatedBies;
}
/**
* @return The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub. Documented below.
*
*/
public List productArns() {
return this.productArns == null ? List.of() : this.productArns;
}
/**
* @return Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub. Documented below.
*
*/
public List productNames() {
return this.productNames == null ? List.of() : this.productNames;
}
/**
* @return Provides the current state of a finding. Documented below.
*
*/
public List recordStates() {
return this.recordStates == null ? List.of() : this.recordStates;
}
/**
* @return The product-generated identifier for a related finding. Documented below.
*
*/
public List relatedFindingsIds() {
return this.relatedFindingsIds == null ? List.of() : this.relatedFindingsIds;
}
/**
* @return The ARN for the product that generated a related finding. Documented below.
*
*/
public List relatedFindingsProductArns() {
return this.relatedFindingsProductArns == null ? List.of() : this.relatedFindingsProductArns;
}
/**
* @return The Amazon Resource Name (ARN) of the application that is related to a finding. Documented below.
*
*/
public List resourceApplicationArns() {
return this.resourceApplicationArns == null ? List.of() : this.resourceApplicationArns;
}
/**
* @return The name of the application that is related to a finding. Documented below.
*
*/
public List resourceApplicationNames() {
return this.resourceApplicationNames == null ? List.of() : this.resourceApplicationNames;
}
/**
* @return Custom fields and values about the resource that a finding pertains to. Documented below.
*
*/
public List resourceDetailsOthers() {
return this.resourceDetailsOthers == null ? List.of() : this.resourceDetailsOthers;
}
/**
* @return The identifier for the given resource type. For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS service that created the resource. For non-AWS resources, this is a unique identifier that is associated with the resource. Documented below.
*
*/
public List resourceIds() {
return this.resourceIds == null ? List.of() : this.resourceIds;
}
/**
* @return The partition in which the resource that the finding pertains to is located. A partition is a group of AWS Regions. Each AWS account is scoped to one partition. Documented below.
*
*/
public List resourcePartitions() {
return this.resourcePartitions == null ? List.of() : this.resourcePartitions;
}
/**
* @return The AWS Region where the resource that a finding pertains to is located. Documented below.
*
*/
public List resourceRegions() {
return this.resourceRegions == null ? List.of() : this.resourceRegions;
}
/**
* @return A list of AWS tags associated with a resource at the time the finding was processed. Documented below.
*
*/
public List resourceTags() {
return this.resourceTags == null ? List.of() : this.resourceTags;
}
/**
* @return The type of resource that the finding pertains to. Documented below.
*
*/
public List resourceTypes() {
return this.resourceTypes == null ? List.of() : this.resourceTypes;
}
/**
* @return The severity value of the finding. Documented below.
*
*/
public List severityLabels() {
return this.severityLabels == null ? List.of() : this.severityLabels;
}
/**
* @return Provides a URL that links to a page about the current finding in the finding product. Documented below.
*
*/
public List sourceUrls() {
return this.sourceUrls == null ? List.of() : this.sourceUrls;
}
/**
* @return A finding's title. Documented below.
*
*/
public List titles() {
return this.titles == null ? List.of() : this.titles;
}
/**
* @return One or more finding types in the format of namespace/category/classifier that classify a finding. Documented below.
*
*/
public List types() {
return this.types == null ? List.of() : this.types;
}
/**
* @return A timestamp that indicates when the finding record was most recently updated. Documented below.
*
*/
public List updatedAts() {
return this.updatedAts == null ? List.of() : this.updatedAts;
}
/**
* @return A list of user-defined name and value string pairs added to a finding. Documented below.
*
*/
public List userDefinedFields() {
return this.userDefinedFields == null ? List.of() : this.userDefinedFields;
}
/**
* @return Provides the veracity of a finding. Documented below.
*
*/
public List verificationStates() {
return this.verificationStates == null ? List.of() : this.verificationStates;
}
/**
* @return Provides information about the status of the investigation into a finding. Documented below.
*
*/
public List workflowStatuses() {
return this.workflowStatuses == null ? List.of() : this.workflowStatuses;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AutomationRuleCriteria defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List awsAccountIds;
private @Nullable List awsAccountNames;
private @Nullable List companyNames;
private @Nullable List complianceAssociatedStandardsIds;
private @Nullable List complianceSecurityControlIds;
private @Nullable List complianceStatuses;
private @Nullable List confidences;
private @Nullable List createdAts;
private @Nullable List criticalities;
private @Nullable List descriptions;
private @Nullable List firstObservedAts;
private @Nullable List generatorIds;
private @Nullable List ids;
private @Nullable List lastObservedAts;
private @Nullable List noteTexts;
private @Nullable List noteUpdatedAts;
private @Nullable List noteUpdatedBies;
private @Nullable List productArns;
private @Nullable List productNames;
private @Nullable List recordStates;
private @Nullable List relatedFindingsIds;
private @Nullable List relatedFindingsProductArns;
private @Nullable List resourceApplicationArns;
private @Nullable List resourceApplicationNames;
private @Nullable List resourceDetailsOthers;
private @Nullable List resourceIds;
private @Nullable List resourcePartitions;
private @Nullable List resourceRegions;
private @Nullable List resourceTags;
private @Nullable List resourceTypes;
private @Nullable List severityLabels;
private @Nullable List sourceUrls;
private @Nullable List titles;
private @Nullable List types;
private @Nullable List updatedAts;
private @Nullable List userDefinedFields;
private @Nullable List verificationStates;
private @Nullable List workflowStatuses;
public Builder() {}
public Builder(AutomationRuleCriteria defaults) {
Objects.requireNonNull(defaults);
this.awsAccountIds = defaults.awsAccountIds;
this.awsAccountNames = defaults.awsAccountNames;
this.companyNames = defaults.companyNames;
this.complianceAssociatedStandardsIds = defaults.complianceAssociatedStandardsIds;
this.complianceSecurityControlIds = defaults.complianceSecurityControlIds;
this.complianceStatuses = defaults.complianceStatuses;
this.confidences = defaults.confidences;
this.createdAts = defaults.createdAts;
this.criticalities = defaults.criticalities;
this.descriptions = defaults.descriptions;
this.firstObservedAts = defaults.firstObservedAts;
this.generatorIds = defaults.generatorIds;
this.ids = defaults.ids;
this.lastObservedAts = defaults.lastObservedAts;
this.noteTexts = defaults.noteTexts;
this.noteUpdatedAts = defaults.noteUpdatedAts;
this.noteUpdatedBies = defaults.noteUpdatedBies;
this.productArns = defaults.productArns;
this.productNames = defaults.productNames;
this.recordStates = defaults.recordStates;
this.relatedFindingsIds = defaults.relatedFindingsIds;
this.relatedFindingsProductArns = defaults.relatedFindingsProductArns;
this.resourceApplicationArns = defaults.resourceApplicationArns;
this.resourceApplicationNames = defaults.resourceApplicationNames;
this.resourceDetailsOthers = defaults.resourceDetailsOthers;
this.resourceIds = defaults.resourceIds;
this.resourcePartitions = defaults.resourcePartitions;
this.resourceRegions = defaults.resourceRegions;
this.resourceTags = defaults.resourceTags;
this.resourceTypes = defaults.resourceTypes;
this.severityLabels = defaults.severityLabels;
this.sourceUrls = defaults.sourceUrls;
this.titles = defaults.titles;
this.types = defaults.types;
this.updatedAts = defaults.updatedAts;
this.userDefinedFields = defaults.userDefinedFields;
this.verificationStates = defaults.verificationStates;
this.workflowStatuses = defaults.workflowStatuses;
}
@CustomType.Setter
public Builder awsAccountIds(@Nullable List awsAccountIds) {
this.awsAccountIds = awsAccountIds;
return this;
}
public Builder awsAccountIds(AutomationRuleCriteriaAwsAccountId... awsAccountIds) {
return awsAccountIds(List.of(awsAccountIds));
}
@CustomType.Setter
public Builder awsAccountNames(@Nullable List awsAccountNames) {
this.awsAccountNames = awsAccountNames;
return this;
}
public Builder awsAccountNames(AutomationRuleCriteriaAwsAccountName... awsAccountNames) {
return awsAccountNames(List.of(awsAccountNames));
}
@CustomType.Setter
public Builder companyNames(@Nullable List companyNames) {
this.companyNames = companyNames;
return this;
}
public Builder companyNames(AutomationRuleCriteriaCompanyName... companyNames) {
return companyNames(List.of(companyNames));
}
@CustomType.Setter
public Builder complianceAssociatedStandardsIds(@Nullable List complianceAssociatedStandardsIds) {
this.complianceAssociatedStandardsIds = complianceAssociatedStandardsIds;
return this;
}
public Builder complianceAssociatedStandardsIds(AutomationRuleCriteriaComplianceAssociatedStandardsId... complianceAssociatedStandardsIds) {
return complianceAssociatedStandardsIds(List.of(complianceAssociatedStandardsIds));
}
@CustomType.Setter
public Builder complianceSecurityControlIds(@Nullable List complianceSecurityControlIds) {
this.complianceSecurityControlIds = complianceSecurityControlIds;
return this;
}
public Builder complianceSecurityControlIds(AutomationRuleCriteriaComplianceSecurityControlId... complianceSecurityControlIds) {
return complianceSecurityControlIds(List.of(complianceSecurityControlIds));
}
@CustomType.Setter
public Builder complianceStatuses(@Nullable List complianceStatuses) {
this.complianceStatuses = complianceStatuses;
return this;
}
public Builder complianceStatuses(AutomationRuleCriteriaComplianceStatus... complianceStatuses) {
return complianceStatuses(List.of(complianceStatuses));
}
@CustomType.Setter
public Builder confidences(@Nullable List confidences) {
this.confidences = confidences;
return this;
}
public Builder confidences(AutomationRuleCriteriaConfidence... confidences) {
return confidences(List.of(confidences));
}
@CustomType.Setter
public Builder createdAts(@Nullable List createdAts) {
this.createdAts = createdAts;
return this;
}
public Builder createdAts(AutomationRuleCriteriaCreatedAt... createdAts) {
return createdAts(List.of(createdAts));
}
@CustomType.Setter
public Builder criticalities(@Nullable List criticalities) {
this.criticalities = criticalities;
return this;
}
public Builder criticalities(AutomationRuleCriteriaCriticality... criticalities) {
return criticalities(List.of(criticalities));
}
@CustomType.Setter
public Builder descriptions(@Nullable List descriptions) {
this.descriptions = descriptions;
return this;
}
public Builder descriptions(AutomationRuleCriteriaDescription... descriptions) {
return descriptions(List.of(descriptions));
}
@CustomType.Setter
public Builder firstObservedAts(@Nullable List firstObservedAts) {
this.firstObservedAts = firstObservedAts;
return this;
}
public Builder firstObservedAts(AutomationRuleCriteriaFirstObservedAt... firstObservedAts) {
return firstObservedAts(List.of(firstObservedAts));
}
@CustomType.Setter
public Builder generatorIds(@Nullable List generatorIds) {
this.generatorIds = generatorIds;
return this;
}
public Builder generatorIds(AutomationRuleCriteriaGeneratorId... generatorIds) {
return generatorIds(List.of(generatorIds));
}
@CustomType.Setter
public Builder ids(@Nullable List ids) {
this.ids = ids;
return this;
}
public Builder ids(AutomationRuleCriteriaId... ids) {
return ids(List.of(ids));
}
@CustomType.Setter
public Builder lastObservedAts(@Nullable List lastObservedAts) {
this.lastObservedAts = lastObservedAts;
return this;
}
public Builder lastObservedAts(AutomationRuleCriteriaLastObservedAt... lastObservedAts) {
return lastObservedAts(List.of(lastObservedAts));
}
@CustomType.Setter
public Builder noteTexts(@Nullable List noteTexts) {
this.noteTexts = noteTexts;
return this;
}
public Builder noteTexts(AutomationRuleCriteriaNoteText... noteTexts) {
return noteTexts(List.of(noteTexts));
}
@CustomType.Setter
public Builder noteUpdatedAts(@Nullable List noteUpdatedAts) {
this.noteUpdatedAts = noteUpdatedAts;
return this;
}
public Builder noteUpdatedAts(AutomationRuleCriteriaNoteUpdatedAt... noteUpdatedAts) {
return noteUpdatedAts(List.of(noteUpdatedAts));
}
@CustomType.Setter
public Builder noteUpdatedBies(@Nullable List noteUpdatedBies) {
this.noteUpdatedBies = noteUpdatedBies;
return this;
}
public Builder noteUpdatedBies(AutomationRuleCriteriaNoteUpdatedBy... noteUpdatedBies) {
return noteUpdatedBies(List.of(noteUpdatedBies));
}
@CustomType.Setter
public Builder productArns(@Nullable List productArns) {
this.productArns = productArns;
return this;
}
public Builder productArns(AutomationRuleCriteriaProductArn... productArns) {
return productArns(List.of(productArns));
}
@CustomType.Setter
public Builder productNames(@Nullable List productNames) {
this.productNames = productNames;
return this;
}
public Builder productNames(AutomationRuleCriteriaProductName... productNames) {
return productNames(List.of(productNames));
}
@CustomType.Setter
public Builder recordStates(@Nullable List recordStates) {
this.recordStates = recordStates;
return this;
}
public Builder recordStates(AutomationRuleCriteriaRecordState... recordStates) {
return recordStates(List.of(recordStates));
}
@CustomType.Setter
public Builder relatedFindingsIds(@Nullable List relatedFindingsIds) {
this.relatedFindingsIds = relatedFindingsIds;
return this;
}
public Builder relatedFindingsIds(AutomationRuleCriteriaRelatedFindingsId... relatedFindingsIds) {
return relatedFindingsIds(List.of(relatedFindingsIds));
}
@CustomType.Setter
public Builder relatedFindingsProductArns(@Nullable List relatedFindingsProductArns) {
this.relatedFindingsProductArns = relatedFindingsProductArns;
return this;
}
public Builder relatedFindingsProductArns(AutomationRuleCriteriaRelatedFindingsProductArn... relatedFindingsProductArns) {
return relatedFindingsProductArns(List.of(relatedFindingsProductArns));
}
@CustomType.Setter
public Builder resourceApplicationArns(@Nullable List resourceApplicationArns) {
this.resourceApplicationArns = resourceApplicationArns;
return this;
}
public Builder resourceApplicationArns(AutomationRuleCriteriaResourceApplicationArn... resourceApplicationArns) {
return resourceApplicationArns(List.of(resourceApplicationArns));
}
@CustomType.Setter
public Builder resourceApplicationNames(@Nullable List resourceApplicationNames) {
this.resourceApplicationNames = resourceApplicationNames;
return this;
}
public Builder resourceApplicationNames(AutomationRuleCriteriaResourceApplicationName... resourceApplicationNames) {
return resourceApplicationNames(List.of(resourceApplicationNames));
}
@CustomType.Setter
public Builder resourceDetailsOthers(@Nullable List resourceDetailsOthers) {
this.resourceDetailsOthers = resourceDetailsOthers;
return this;
}
public Builder resourceDetailsOthers(AutomationRuleCriteriaResourceDetailsOther... resourceDetailsOthers) {
return resourceDetailsOthers(List.of(resourceDetailsOthers));
}
@CustomType.Setter
public Builder resourceIds(@Nullable List resourceIds) {
this.resourceIds = resourceIds;
return this;
}
public Builder resourceIds(AutomationRuleCriteriaResourceId... resourceIds) {
return resourceIds(List.of(resourceIds));
}
@CustomType.Setter
public Builder resourcePartitions(@Nullable List resourcePartitions) {
this.resourcePartitions = resourcePartitions;
return this;
}
public Builder resourcePartitions(AutomationRuleCriteriaResourcePartition... resourcePartitions) {
return resourcePartitions(List.of(resourcePartitions));
}
@CustomType.Setter
public Builder resourceRegions(@Nullable List resourceRegions) {
this.resourceRegions = resourceRegions;
return this;
}
public Builder resourceRegions(AutomationRuleCriteriaResourceRegion... resourceRegions) {
return resourceRegions(List.of(resourceRegions));
}
@CustomType.Setter
public Builder resourceTags(@Nullable List resourceTags) {
this.resourceTags = resourceTags;
return this;
}
public Builder resourceTags(AutomationRuleCriteriaResourceTag... resourceTags) {
return resourceTags(List.of(resourceTags));
}
@CustomType.Setter
public Builder resourceTypes(@Nullable List resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public Builder resourceTypes(AutomationRuleCriteriaResourceType... resourceTypes) {
return resourceTypes(List.of(resourceTypes));
}
@CustomType.Setter
public Builder severityLabels(@Nullable List severityLabels) {
this.severityLabels = severityLabels;
return this;
}
public Builder severityLabels(AutomationRuleCriteriaSeverityLabel... severityLabels) {
return severityLabels(List.of(severityLabels));
}
@CustomType.Setter
public Builder sourceUrls(@Nullable List sourceUrls) {
this.sourceUrls = sourceUrls;
return this;
}
public Builder sourceUrls(AutomationRuleCriteriaSourceUrl... sourceUrls) {
return sourceUrls(List.of(sourceUrls));
}
@CustomType.Setter
public Builder titles(@Nullable List titles) {
this.titles = titles;
return this;
}
public Builder titles(AutomationRuleCriteriaTitle... titles) {
return titles(List.of(titles));
}
@CustomType.Setter
public Builder types(@Nullable List types) {
this.types = types;
return this;
}
public Builder types(AutomationRuleCriteriaType... types) {
return types(List.of(types));
}
@CustomType.Setter
public Builder updatedAts(@Nullable List updatedAts) {
this.updatedAts = updatedAts;
return this;
}
public Builder updatedAts(AutomationRuleCriteriaUpdatedAt... updatedAts) {
return updatedAts(List.of(updatedAts));
}
@CustomType.Setter
public Builder userDefinedFields(@Nullable List userDefinedFields) {
this.userDefinedFields = userDefinedFields;
return this;
}
public Builder userDefinedFields(AutomationRuleCriteriaUserDefinedField... userDefinedFields) {
return userDefinedFields(List.of(userDefinedFields));
}
@CustomType.Setter
public Builder verificationStates(@Nullable List verificationStates) {
this.verificationStates = verificationStates;
return this;
}
public Builder verificationStates(AutomationRuleCriteriaVerificationState... verificationStates) {
return verificationStates(List.of(verificationStates));
}
@CustomType.Setter
public Builder workflowStatuses(@Nullable List workflowStatuses) {
this.workflowStatuses = workflowStatuses;
return this;
}
public Builder workflowStatuses(AutomationRuleCriteriaWorkflowStatus... workflowStatuses) {
return workflowStatuses(List.of(workflowStatuses));
}
public AutomationRuleCriteria build() {
final var _resultValue = new AutomationRuleCriteria();
_resultValue.awsAccountIds = awsAccountIds;
_resultValue.awsAccountNames = awsAccountNames;
_resultValue.companyNames = companyNames;
_resultValue.complianceAssociatedStandardsIds = complianceAssociatedStandardsIds;
_resultValue.complianceSecurityControlIds = complianceSecurityControlIds;
_resultValue.complianceStatuses = complianceStatuses;
_resultValue.confidences = confidences;
_resultValue.createdAts = createdAts;
_resultValue.criticalities = criticalities;
_resultValue.descriptions = descriptions;
_resultValue.firstObservedAts = firstObservedAts;
_resultValue.generatorIds = generatorIds;
_resultValue.ids = ids;
_resultValue.lastObservedAts = lastObservedAts;
_resultValue.noteTexts = noteTexts;
_resultValue.noteUpdatedAts = noteUpdatedAts;
_resultValue.noteUpdatedBies = noteUpdatedBies;
_resultValue.productArns = productArns;
_resultValue.productNames = productNames;
_resultValue.recordStates = recordStates;
_resultValue.relatedFindingsIds = relatedFindingsIds;
_resultValue.relatedFindingsProductArns = relatedFindingsProductArns;
_resultValue.resourceApplicationArns = resourceApplicationArns;
_resultValue.resourceApplicationNames = resourceApplicationNames;
_resultValue.resourceDetailsOthers = resourceDetailsOthers;
_resultValue.resourceIds = resourceIds;
_resultValue.resourcePartitions = resourcePartitions;
_resultValue.resourceRegions = resourceRegions;
_resultValue.resourceTags = resourceTags;
_resultValue.resourceTypes = resourceTypes;
_resultValue.severityLabels = severityLabels;
_resultValue.sourceUrls = sourceUrls;
_resultValue.titles = titles;
_resultValue.types = types;
_resultValue.updatedAts = updatedAts;
_resultValue.userDefinedFields = userDefinedFields;
_resultValue.verificationStates = verificationStates;
_resultValue.workflowStatuses = workflowStatuses;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy