com.pulumi.googlenative.osconfig.v1.outputs.OSPolicyResourceFileRemoteResponse 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.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class OSPolicyResourceFileRemoteResponse {
/**
* @return SHA256 checksum of the remote file.
*
*/
private String sha256Checksum;
/**
* @return URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
*
*/
private String uri;
private OSPolicyResourceFileRemoteResponse() {}
/**
* @return SHA256 checksum of the remote file.
*
*/
public String sha256Checksum() {
return this.sha256Checksum;
}
/**
* @return URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
*
*/
public String uri() {
return this.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OSPolicyResourceFileRemoteResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String sha256Checksum;
private String uri;
public Builder() {}
public Builder(OSPolicyResourceFileRemoteResponse defaults) {
Objects.requireNonNull(defaults);
this.sha256Checksum = defaults.sha256Checksum;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder sha256Checksum(String sha256Checksum) {
this.sha256Checksum = Objects.requireNonNull(sha256Checksum);
return this;
}
@CustomType.Setter
public Builder uri(String uri) {
this.uri = Objects.requireNonNull(uri);
return this;
}
public OSPolicyResourceFileRemoteResponse build() {
final var o = new OSPolicyResourceFileRemoteResponse();
o.sha256Checksum = sha256Checksum;
o.uri = uri;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy