com.pulumi.googlenative.compute.v1.inputs.GetDiskIamPolicyPlainArgs 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.googlenative.compute.v1.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetDiskIamPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetDiskIamPolicyPlainArgs Empty = new GetDiskIamPolicyPlainArgs();
@Import(name="optionsRequestedPolicyVersion")
private @Nullable Integer optionsRequestedPolicyVersion;
public Optional optionsRequestedPolicyVersion() {
return Optional.ofNullable(this.optionsRequestedPolicyVersion);
}
@Import(name="project")
private @Nullable String project;
public Optional project() {
return Optional.ofNullable(this.project);
}
@Import(name="resource", required=true)
private String resource;
public String resource() {
return this.resource;
}
@Import(name="zone", required=true)
private String zone;
public String zone() {
return this.zone;
}
private GetDiskIamPolicyPlainArgs() {}
private GetDiskIamPolicyPlainArgs(GetDiskIamPolicyPlainArgs $) {
this.optionsRequestedPolicyVersion = $.optionsRequestedPolicyVersion;
this.project = $.project;
this.resource = $.resource;
this.zone = $.zone;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDiskIamPolicyPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetDiskIamPolicyPlainArgs $;
public Builder() {
$ = new GetDiskIamPolicyPlainArgs();
}
public Builder(GetDiskIamPolicyPlainArgs defaults) {
$ = new GetDiskIamPolicyPlainArgs(Objects.requireNonNull(defaults));
}
public Builder optionsRequestedPolicyVersion(@Nullable Integer optionsRequestedPolicyVersion) {
$.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
public Builder project(@Nullable String project) {
$.project = project;
return this;
}
public Builder resource(String resource) {
$.resource = resource;
return this;
}
public Builder zone(String zone) {
$.zone = zone;
return this;
}
public GetDiskIamPolicyPlainArgs build() {
$.resource = Objects.requireNonNull($.resource, "expected parameter 'resource' to be non-null");
$.zone = Objects.requireNonNull($.zone, "expected parameter 'zone' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy