com.pulumi.alicloud.sag.outputs.GetAclsAcl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.sag.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetAclsAcl {
/**
* @return The ID of the ACL. For example "acl-xxx".
*
*/
private String id;
/**
* @return The name of the Acl.
*
*/
private String name;
private GetAclsAcl() {}
/**
* @return The ID of the ACL. For example "acl-xxx".
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the Acl.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAclsAcl defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String name;
public Builder() {}
public Builder(GetAclsAcl defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAclsAcl", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetAclsAcl", "name");
}
this.name = name;
return this;
}
public GetAclsAcl build() {
final var _resultValue = new GetAclsAcl();
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}