com.pulumi.aws.auditmanager.outputs.GetFrameworkControlSet 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.
// *** 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.auditmanager.outputs;
import com.pulumi.aws.auditmanager.outputs.GetFrameworkControlSetControl;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetFrameworkControlSet {
private @Nullable List controls;
private String id;
/**
* @return Name of the framework.
*
*/
private String name;
private GetFrameworkControlSet() {}
public List controls() {
return this.controls == null ? List.of() : this.controls;
}
public String id() {
return this.id;
}
/**
* @return Name of the framework.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFrameworkControlSet defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List controls;
private String id;
private String name;
public Builder() {}
public Builder(GetFrameworkControlSet defaults) {
Objects.requireNonNull(defaults);
this.controls = defaults.controls;
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder controls(@Nullable List controls) {
this.controls = controls;
return this;
}
public Builder controls(GetFrameworkControlSetControl... controls) {
return controls(List.of(controls));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetFrameworkControlSet", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetFrameworkControlSet", "name");
}
this.name = name;
return this;
}
public GetFrameworkControlSet build() {
final var _resultValue = new GetFrameworkControlSet();
_resultValue.controls = controls;
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy