com.pulumi.aws.connect.outputs.GetSecurityProfileResult 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.connect.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 GetSecurityProfileResult {
/**
* @return ARN of the Security Profile.
*
*/
private String arn;
/**
* @return Description of the Security Profile.
*
*/
private String description;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String instanceId;
private String name;
/**
* @return The organization resource identifier for the security profile.
*
*/
private String organizationResourceId;
/**
* @return List of permissions assigned to the security profile.
*
*/
private List permissions;
private String securityProfileId;
/**
* @return Map of tags to assign to the Security Profile.
*
*/
private Map tags;
private GetSecurityProfileResult() {}
/**
* @return ARN of the Security Profile.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the Security Profile.
*
*/
public String description() {
return this.description;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String instanceId() {
return this.instanceId;
}
public String name() {
return this.name;
}
/**
* @return The organization resource identifier for the security profile.
*
*/
public String organizationResourceId() {
return this.organizationResourceId;
}
/**
* @return List of permissions assigned to the security profile.
*
*/
public List permissions() {
return this.permissions;
}
public String securityProfileId() {
return this.securityProfileId;
}
/**
* @return Map of tags to assign to the Security Profile.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSecurityProfileResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String id;
private String instanceId;
private String name;
private String organizationResourceId;
private List permissions;
private String securityProfileId;
private Map tags;
public Builder() {}
public Builder(GetSecurityProfileResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.id = defaults.id;
this.instanceId = defaults.instanceId;
this.name = defaults.name;
this.organizationResourceId = defaults.organizationResourceId;
this.permissions = defaults.permissions;
this.securityProfileId = defaults.securityProfileId;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "instanceId");
}
this.instanceId = instanceId;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder organizationResourceId(String organizationResourceId) {
if (organizationResourceId == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "organizationResourceId");
}
this.organizationResourceId = organizationResourceId;
return this;
}
@CustomType.Setter
public Builder permissions(List permissions) {
if (permissions == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "permissions");
}
this.permissions = permissions;
return this;
}
public Builder permissions(String... permissions) {
return permissions(List.of(permissions));
}
@CustomType.Setter
public Builder securityProfileId(String securityProfileId) {
if (securityProfileId == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "securityProfileId");
}
this.securityProfileId = securityProfileId;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetSecurityProfileResult", "tags");
}
this.tags = tags;
return this;
}
public GetSecurityProfileResult build() {
final var _resultValue = new GetSecurityProfileResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.instanceId = instanceId;
_resultValue.name = name;
_resultValue.organizationResourceId = organizationResourceId;
_resultValue.permissions = permissions;
_resultValue.securityProfileId = securityProfileId;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy