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

com.pulumi.azurenative.containerservice.outputs.UpdateGroupStatusResponse 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.containerservice.outputs;

import com.pulumi.azurenative.containerservice.outputs.MemberUpdateStatusResponse;
import com.pulumi.azurenative.containerservice.outputs.UpdateStatusResponse;
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 UpdateGroupStatusResponse {
    /**
     * @return The list of member this UpdateGroup updates.
     * 
     */
    private List members;
    /**
     * @return The name of the UpdateGroup.
     * 
     */
    private String name;
    /**
     * @return The status of the UpdateGroup.
     * 
     */
    private UpdateStatusResponse status;

    private UpdateGroupStatusResponse() {}
    /**
     * @return The list of member this UpdateGroup updates.
     * 
     */
    public List members() {
        return this.members;
    }
    /**
     * @return The name of the UpdateGroup.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The status of the UpdateGroup.
     * 
     */
    public UpdateStatusResponse status() {
        return this.status;
    }

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

    public static Builder builder(UpdateGroupStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List members;
        private String name;
        private UpdateStatusResponse status;
        public Builder() {}
        public Builder(UpdateGroupStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.members = defaults.members;
    	      this.name = defaults.name;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder members(List members) {
            if (members == null) {
              throw new MissingRequiredPropertyException("UpdateGroupStatusResponse", "members");
            }
            this.members = members;
            return this;
        }
        public Builder members(MemberUpdateStatusResponse... members) {
            return members(List.of(members));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("UpdateGroupStatusResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder status(UpdateStatusResponse status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("UpdateGroupStatusResponse", "status");
            }
            this.status = status;
            return this;
        }
        public UpdateGroupStatusResponse build() {
            final var _resultValue = new UpdateGroupStatusResponse();
            _resultValue.members = members;
            _resultValue.name = name;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy