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

com.pulumi.linode.outputs.GetPlacementGroupMember Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.pulumi.linode.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetPlacementGroupMember {
    /**
     * @return Whether this Linode is currently compliant with the group's placement group type.
     * 
     */
    private Boolean isCompliant;
    /**
     * @return The ID of the Linode.
     * 
     */
    private Integer linodeId;

    private GetPlacementGroupMember() {}
    /**
     * @return Whether this Linode is currently compliant with the group's placement group type.
     * 
     */
    public Boolean isCompliant() {
        return this.isCompliant;
    }
    /**
     * @return The ID of the Linode.
     * 
     */
    public Integer linodeId() {
        return this.linodeId;
    }

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

    public static Builder builder(GetPlacementGroupMember defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean isCompliant;
        private Integer linodeId;
        public Builder() {}
        public Builder(GetPlacementGroupMember defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.isCompliant = defaults.isCompliant;
    	      this.linodeId = defaults.linodeId;
        }

        @CustomType.Setter
        public Builder isCompliant(Boolean isCompliant) {
            if (isCompliant == null) {
              throw new MissingRequiredPropertyException("GetPlacementGroupMember", "isCompliant");
            }
            this.isCompliant = isCompliant;
            return this;
        }
        @CustomType.Setter
        public Builder linodeId(Integer linodeId) {
            if (linodeId == null) {
              throw new MissingRequiredPropertyException("GetPlacementGroupMember", "linodeId");
            }
            this.linodeId = linodeId;
            return this;
        }
        public GetPlacementGroupMember build() {
            final var _resultValue = new GetPlacementGroupMember();
            _resultValue.isCompliant = isCompliant;
            _resultValue.linodeId = linodeId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy