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

com.pulumi.azurenative.apimanagement.outputs.GetWorkspaceApiReleaseResult 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.azurenative.apimanagement.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetWorkspaceApiReleaseResult {
    /**
     * @return Identifier of the API the release belongs to.
     * 
     */
    private @Nullable String apiId;
    /**
     * @return The time the API was released. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
     * 
     */
    private String createdDateTime;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Release Notes
     * 
     */
    private @Nullable String notes;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return The time the API release was updated.
     * 
     */
    private String updatedDateTime;

    private GetWorkspaceApiReleaseResult() {}
    /**
     * @return Identifier of the API the release belongs to.
     * 
     */
    public Optional apiId() {
        return Optional.ofNullable(this.apiId);
    }
    /**
     * @return The time the API was released. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
     * 
     */
    public String createdDateTime() {
        return this.createdDateTime;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Release Notes
     * 
     */
    public Optional notes() {
        return Optional.ofNullable(this.notes);
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The time the API release was updated.
     * 
     */
    public String updatedDateTime() {
        return this.updatedDateTime;
    }

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

    public static Builder builder(GetWorkspaceApiReleaseResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String apiId;
        private String createdDateTime;
        private String id;
        private String name;
        private @Nullable String notes;
        private String type;
        private String updatedDateTime;
        public Builder() {}
        public Builder(GetWorkspaceApiReleaseResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiId = defaults.apiId;
    	      this.createdDateTime = defaults.createdDateTime;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.notes = defaults.notes;
    	      this.type = defaults.type;
    	      this.updatedDateTime = defaults.updatedDateTime;
        }

        @CustomType.Setter
        public Builder apiId(@Nullable String apiId) {

            this.apiId = apiId;
            return this;
        }
        @CustomType.Setter
        public Builder createdDateTime(String createdDateTime) {
            if (createdDateTime == null) {
              throw new MissingRequiredPropertyException("GetWorkspaceApiReleaseResult", "createdDateTime");
            }
            this.createdDateTime = createdDateTime;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetWorkspaceApiReleaseResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetWorkspaceApiReleaseResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder notes(@Nullable String notes) {

            this.notes = notes;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetWorkspaceApiReleaseResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder updatedDateTime(String updatedDateTime) {
            if (updatedDateTime == null) {
              throw new MissingRequiredPropertyException("GetWorkspaceApiReleaseResult", "updatedDateTime");
            }
            this.updatedDateTime = updatedDateTime;
            return this;
        }
        public GetWorkspaceApiReleaseResult build() {
            final var _resultValue = new GetWorkspaceApiReleaseResult();
            _resultValue.apiId = apiId;
            _resultValue.createdDateTime = createdDateTime;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.notes = notes;
            _resultValue.type = type;
            _resultValue.updatedDateTime = updatedDateTime;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy