com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourceResponse 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.osconfig.v1alpha.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourceExecResourceResponse;
import com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourceFileResourceResponse;
import com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourcePackageResourceResponse;
import com.pulumi.googlenative.osconfig.v1alpha.outputs.OSPolicyResourceRepositoryResourceResponse;
import java.util.Objects;
@CustomType
public final class OSPolicyResourceResponse {
/**
* @return Exec resource
*
*/
private OSPolicyResourceExecResourceResponse exec;
/**
* @return File resource
*
*/
private OSPolicyResourceFileResourceResponse file;
/**
* @return Package resource
*
*/
private OSPolicyResourcePackageResourceResponse pkg;
/**
* @return Package repository resource
*
*/
private OSPolicyResourceRepositoryResourceResponse repository;
private OSPolicyResourceResponse() {}
/**
* @return Exec resource
*
*/
public OSPolicyResourceExecResourceResponse exec() {
return this.exec;
}
/**
* @return File resource
*
*/
public OSPolicyResourceFileResourceResponse file() {
return this.file;
}
/**
* @return Package resource
*
*/
public OSPolicyResourcePackageResourceResponse pkg() {
return this.pkg;
}
/**
* @return Package repository resource
*
*/
public OSPolicyResourceRepositoryResourceResponse repository() {
return this.repository;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OSPolicyResourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private OSPolicyResourceExecResourceResponse exec;
private OSPolicyResourceFileResourceResponse file;
private OSPolicyResourcePackageResourceResponse pkg;
private OSPolicyResourceRepositoryResourceResponse repository;
public Builder() {}
public Builder(OSPolicyResourceResponse defaults) {
Objects.requireNonNull(defaults);
this.exec = defaults.exec;
this.file = defaults.file;
this.pkg = defaults.pkg;
this.repository = defaults.repository;
}
@CustomType.Setter
public Builder exec(OSPolicyResourceExecResourceResponse exec) {
this.exec = Objects.requireNonNull(exec);
return this;
}
@CustomType.Setter
public Builder file(OSPolicyResourceFileResourceResponse file) {
this.file = Objects.requireNonNull(file);
return this;
}
@CustomType.Setter
public Builder pkg(OSPolicyResourcePackageResourceResponse pkg) {
this.pkg = Objects.requireNonNull(pkg);
return this;
}
@CustomType.Setter
public Builder repository(OSPolicyResourceRepositoryResourceResponse repository) {
this.repository = Objects.requireNonNull(repository);
return this;
}
public OSPolicyResourceResponse build() {
final var o = new OSPolicyResourceResponse();
o.exec = exec;
o.file = file;
o.pkg = pkg;
o.repository = repository;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy