com.pulumi.googlenative.managedidentities.v1alpha1.inputs.GetPeeringIamPolicyPlainArgs 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.managedidentities.v1alpha1.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 GetPeeringIamPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPeeringIamPolicyPlainArgs Empty = new GetPeeringIamPolicyPlainArgs();
@Import(name="optionsRequestedPolicyVersion")
private @Nullable Integer optionsRequestedPolicyVersion;
public Optional optionsRequestedPolicyVersion() {
return Optional.ofNullable(this.optionsRequestedPolicyVersion);
}
@Import(name="peeringId", required=true)
private String peeringId;
public String peeringId() {
return this.peeringId;
}
@Import(name="project")
private @Nullable String project;
public Optional project() {
return Optional.ofNullable(this.project);
}
private GetPeeringIamPolicyPlainArgs() {}
private GetPeeringIamPolicyPlainArgs(GetPeeringIamPolicyPlainArgs $) {
this.optionsRequestedPolicyVersion = $.optionsRequestedPolicyVersion;
this.peeringId = $.peeringId;
this.project = $.project;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPeeringIamPolicyPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPeeringIamPolicyPlainArgs $;
public Builder() {
$ = new GetPeeringIamPolicyPlainArgs();
}
public Builder(GetPeeringIamPolicyPlainArgs defaults) {
$ = new GetPeeringIamPolicyPlainArgs(Objects.requireNonNull(defaults));
}
public Builder optionsRequestedPolicyVersion(@Nullable Integer optionsRequestedPolicyVersion) {
$.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
public Builder peeringId(String peeringId) {
$.peeringId = peeringId;
return this;
}
public Builder project(@Nullable String project) {
$.project = project;
return this;
}
public GetPeeringIamPolicyPlainArgs build() {
$.peeringId = Objects.requireNonNull($.peeringId, "expected parameter 'peeringId' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy