com.pulumi.googlenative.storage.v1.outputs.BucketOwnerResponse 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.storage.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class BucketOwnerResponse {
/**
* @return The entity, in the form project-owner-projectId.
*
*/
private String entity;
/**
* @return The ID for the entity.
*
*/
private String entityId;
private BucketOwnerResponse() {}
/**
* @return The entity, in the form project-owner-projectId.
*
*/
public String entity() {
return this.entity;
}
/**
* @return The ID for the entity.
*
*/
public String entityId() {
return this.entityId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketOwnerResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String entity;
private String entityId;
public Builder() {}
public Builder(BucketOwnerResponse defaults) {
Objects.requireNonNull(defaults);
this.entity = defaults.entity;
this.entityId = defaults.entityId;
}
@CustomType.Setter
public Builder entity(String entity) {
this.entity = Objects.requireNonNull(entity);
return this;
}
@CustomType.Setter
public Builder entityId(String entityId) {
this.entityId = Objects.requireNonNull(entityId);
return this;
}
public BucketOwnerResponse build() {
final var o = new BucketOwnerResponse();
o.entity = entity;
o.entityId = entityId;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy