com.pulumi.aws.backup.outputs.GetFrameworkControlScope Maven / Gradle / Ivy
// *** 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.backup.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetFrameworkControlScope {
/**
* @return The ID of the only AWS resource that you want your control scope to contain.
*
*/
private List complianceResourceIds;
/**
* @return Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
*
*/
private List complianceResourceTypes;
/**
* @return Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
*
*/
private Map tags;
private GetFrameworkControlScope() {}
/**
* @return The ID of the only AWS resource that you want your control scope to contain.
*
*/
public List complianceResourceIds() {
return this.complianceResourceIds;
}
/**
* @return Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
*
*/
public List complianceResourceTypes() {
return this.complianceResourceTypes;
}
/**
* @return Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFrameworkControlScope defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List complianceResourceIds;
private List complianceResourceTypes;
private Map tags;
public Builder() {}
public Builder(GetFrameworkControlScope defaults) {
Objects.requireNonNull(defaults);
this.complianceResourceIds = defaults.complianceResourceIds;
this.complianceResourceTypes = defaults.complianceResourceTypes;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder complianceResourceIds(List complianceResourceIds) {
if (complianceResourceIds == null) {
throw new MissingRequiredPropertyException("GetFrameworkControlScope", "complianceResourceIds");
}
this.complianceResourceIds = complianceResourceIds;
return this;
}
public Builder complianceResourceIds(String... complianceResourceIds) {
return complianceResourceIds(List.of(complianceResourceIds));
}
@CustomType.Setter
public Builder complianceResourceTypes(List complianceResourceTypes) {
if (complianceResourceTypes == null) {
throw new MissingRequiredPropertyException("GetFrameworkControlScope", "complianceResourceTypes");
}
this.complianceResourceTypes = complianceResourceTypes;
return this;
}
public Builder complianceResourceTypes(String... complianceResourceTypes) {
return complianceResourceTypes(List.of(complianceResourceTypes));
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetFrameworkControlScope", "tags");
}
this.tags = tags;
return this;
}
public GetFrameworkControlScope build() {
final var _resultValue = new GetFrameworkControlScope();
_resultValue.complianceResourceIds = complianceResourceIds;
_resultValue.complianceResourceTypes = complianceResourceTypes;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy