com.pulumi.googlenative.osconfig.v1beta.outputs.GcsObjectResponse 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.v1beta.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GcsObjectResponse {
/**
* @return Bucket of the Google Cloud Storage object.
*
*/
private String bucket;
/**
* @return Generation number of the Google Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
*
*/
private String generationNumber;
/**
* @return Name of the Google Cloud Storage object.
*
*/
private String object;
private GcsObjectResponse() {}
/**
* @return Bucket of the Google Cloud Storage object.
*
*/
public String bucket() {
return this.bucket;
}
/**
* @return Generation number of the Google Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
*
*/
public String generationNumber() {
return this.generationNumber;
}
/**
* @return Name of the Google Cloud Storage object.
*
*/
public String object() {
return this.object;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GcsObjectResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bucket;
private String generationNumber;
private String object;
public Builder() {}
public Builder(GcsObjectResponse defaults) {
Objects.requireNonNull(defaults);
this.bucket = defaults.bucket;
this.generationNumber = defaults.generationNumber;
this.object = defaults.object;
}
@CustomType.Setter
public Builder bucket(String bucket) {
this.bucket = Objects.requireNonNull(bucket);
return this;
}
@CustomType.Setter
public Builder generationNumber(String generationNumber) {
this.generationNumber = Objects.requireNonNull(generationNumber);
return this;
}
@CustomType.Setter
public Builder object(String object) {
this.object = Objects.requireNonNull(object);
return this;
}
public GcsObjectResponse build() {
final var o = new GcsObjectResponse();
o.bucket = bucket;
o.generationNumber = generationNumber;
o.object = object;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy