com.pulumi.aws.efs.outputs.GetAccessPointRootDirectoryCreationInfo 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.efs.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetAccessPointRootDirectoryCreationInfo {
/**
* @return POSIX owner group ID
*
*/
private Integer ownerGid;
/**
* @return POSIX owner user ID
*
*/
private Integer ownerUid;
/**
* @return POSIX permissions mode
*
*/
private String permissions;
private GetAccessPointRootDirectoryCreationInfo() {}
/**
* @return POSIX owner group ID
*
*/
public Integer ownerGid() {
return this.ownerGid;
}
/**
* @return POSIX owner user ID
*
*/
public Integer ownerUid() {
return this.ownerUid;
}
/**
* @return POSIX permissions mode
*
*/
public String permissions() {
return this.permissions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccessPointRootDirectoryCreationInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer ownerGid;
private Integer ownerUid;
private String permissions;
public Builder() {}
public Builder(GetAccessPointRootDirectoryCreationInfo defaults) {
Objects.requireNonNull(defaults);
this.ownerGid = defaults.ownerGid;
this.ownerUid = defaults.ownerUid;
this.permissions = defaults.permissions;
}
@CustomType.Setter
public Builder ownerGid(Integer ownerGid) {
if (ownerGid == null) {
throw new MissingRequiredPropertyException("GetAccessPointRootDirectoryCreationInfo", "ownerGid");
}
this.ownerGid = ownerGid;
return this;
}
@CustomType.Setter
public Builder ownerUid(Integer ownerUid) {
if (ownerUid == null) {
throw new MissingRequiredPropertyException("GetAccessPointRootDirectoryCreationInfo", "ownerUid");
}
this.ownerUid = ownerUid;
return this;
}
@CustomType.Setter
public Builder permissions(String permissions) {
if (permissions == null) {
throw new MissingRequiredPropertyException("GetAccessPointRootDirectoryCreationInfo", "permissions");
}
this.permissions = permissions;
return this;
}
public GetAccessPointRootDirectoryCreationInfo build() {
final var _resultValue = new GetAccessPointRootDirectoryCreationInfo();
_resultValue.ownerGid = ownerGid;
_resultValue.ownerUid = ownerUid;
_resultValue.permissions = permissions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy