com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryUsersInvokeResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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.ovhcloud.pulumi.ovh.CloudProject.outputs;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryUsersResult;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetContainerRegistryUsersInvokeResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String registryId;
/**
* @return The list of users of the container registry associated with the project.
*
*/
private List results;
private String serviceName;
private GetContainerRegistryUsersInvokeResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String registryId() {
return this.registryId;
}
/**
* @return The list of users of the container registry associated with the project.
*
*/
public List results() {
return this.results;
}
public String serviceName() {
return this.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetContainerRegistryUsersInvokeResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String registryId;
private List results;
private String serviceName;
public Builder() {}
public Builder(GetContainerRegistryUsersInvokeResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.registryId = defaults.registryId;
this.results = defaults.results;
this.serviceName = defaults.serviceName;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryUsersInvokeResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder registryId(String registryId) {
if (registryId == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryUsersInvokeResult", "registryId");
}
this.registryId = registryId;
return this;
}
@CustomType.Setter
public Builder results(List results) {
if (results == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryUsersInvokeResult", "results");
}
this.results = results;
return this;
}
public Builder results(GetContainerRegistryUsersResult... results) {
return results(List.of(results));
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryUsersInvokeResult", "serviceName");
}
this.serviceName = serviceName;
return this;
}
public GetContainerRegistryUsersInvokeResult build() {
final var _resultValue = new GetContainerRegistryUsersInvokeResult();
_resultValue.id = id;
_resultValue.registryId = registryId;
_resultValue.results = results;
_resultValue.serviceName = serviceName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy