All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryResult Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
// *** 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.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetContainerRegistryResult {
    /**
     * @return Registry creation date
     * 
     */
    private String createdAt;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Registry name
     * 
     */
    private String name;
    /**
     * @return Project ID of your registry
     * 
     */
    private String projectId;
    /**
     * @return Region of the registry
     * 
     */
    private String region;
    private String registryId;
    private String serviceName;
    /**
     * @return Current size of the registry (bytes)
     * 
     */
    private Integer size;
    /**
     * @return Registry status
     * 
     */
    private String status;
    /**
     * @return Registry last update date
     * 
     */
    private String updatedAt;
    /**
     * @return Access url of the registry
     * 
     */
    private String url;
    /**
     * @return Version of your registry
     * 
     */
    private String version;

    private GetContainerRegistryResult() {}
    /**
     * @return Registry creation date
     * 
     */
    public String createdAt() {
        return this.createdAt;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Registry name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Project ID of your registry
     * 
     */
    public String projectId() {
        return this.projectId;
    }
    /**
     * @return Region of the registry
     * 
     */
    public String region() {
        return this.region;
    }
    public String registryId() {
        return this.registryId;
    }
    public String serviceName() {
        return this.serviceName;
    }
    /**
     * @return Current size of the registry (bytes)
     * 
     */
    public Integer size() {
        return this.size;
    }
    /**
     * @return Registry status
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Registry last update date
     * 
     */
    public String updatedAt() {
        return this.updatedAt;
    }
    /**
     * @return Access url of the registry
     * 
     */
    public String url() {
        return this.url;
    }
    /**
     * @return Version of your registry
     * 
     */
    public String version() {
        return this.version;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetContainerRegistryResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String createdAt;
        private String id;
        private String name;
        private String projectId;
        private String region;
        private String registryId;
        private String serviceName;
        private Integer size;
        private String status;
        private String updatedAt;
        private String url;
        private String version;
        public Builder() {}
        public Builder(GetContainerRegistryResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createdAt = defaults.createdAt;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.projectId = defaults.projectId;
    	      this.region = defaults.region;
    	      this.registryId = defaults.registryId;
    	      this.serviceName = defaults.serviceName;
    	      this.size = defaults.size;
    	      this.status = defaults.status;
    	      this.updatedAt = defaults.updatedAt;
    	      this.url = defaults.url;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder createdAt(String createdAt) {
            if (createdAt == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "createdAt");
            }
            this.createdAt = createdAt;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder projectId(String projectId) {
            if (projectId == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "projectId");
            }
            this.projectId = projectId;
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            if (region == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "region");
            }
            this.region = region;
            return this;
        }
        @CustomType.Setter
        public Builder registryId(String registryId) {
            if (registryId == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "registryId");
            }
            this.registryId = registryId;
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            if (serviceName == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "serviceName");
            }
            this.serviceName = serviceName;
            return this;
        }
        @CustomType.Setter
        public Builder size(Integer size) {
            if (size == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "size");
            }
            this.size = size;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder updatedAt(String updatedAt) {
            if (updatedAt == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "updatedAt");
            }
            this.updatedAt = updatedAt;
            return this;
        }
        @CustomType.Setter
        public Builder url(String url) {
            if (url == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "url");
            }
            this.url = url;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetContainerRegistryResult", "version");
            }
            this.version = version;
            return this;
        }
        public GetContainerRegistryResult build() {
            final var _resultValue = new GetContainerRegistryResult();
            _resultValue.createdAt = createdAt;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.projectId = projectId;
            _resultValue.region = region;
            _resultValue.registryId = registryId;
            _resultValue.serviceName = serviceName;
            _resultValue.size = size;
            _resultValue.status = status;
            _resultValue.updatedAt = updatedAt;
            _resultValue.url = url;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy