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

com.pulumi.azurenative.servicefabricmesh.outputs.NetworkResourcePropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurenative.servicefabricmesh.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 NetworkResourcePropertiesResponse {
    /**
     * @return User readable description of the network.
     * 
     */
    private @Nullable String description;
    /**
     * @return The type of a Service Fabric container network.
     * Expected value is 'NetworkResourceProperties'.
     * 
     */
    private String kind;
    /**
     * @return State of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Status of the network.
     * 
     */
    private String status;
    /**
     * @return Gives additional information about the current status of the network.
     * 
     */
    private String statusDetails;

    private NetworkResourcePropertiesResponse() {}
    /**
     * @return User readable description of the network.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The type of a Service Fabric container network.
     * Expected value is 'NetworkResourceProperties'.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return State of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Status of the network.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Gives additional information about the current status of the network.
     * 
     */
    public String statusDetails() {
        return this.statusDetails;
    }

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

    public static Builder builder(NetworkResourcePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private String kind;
        private String provisioningState;
        private String status;
        private String statusDetails;
        public Builder() {}
        public Builder(NetworkResourcePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.kind = defaults.kind;
    	      this.provisioningState = defaults.provisioningState;
    	      this.status = defaults.status;
    	      this.statusDetails = defaults.statusDetails;
        }

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("NetworkResourcePropertiesResponse", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("NetworkResourcePropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("NetworkResourcePropertiesResponse", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder statusDetails(String statusDetails) {
            if (statusDetails == null) {
              throw new MissingRequiredPropertyException("NetworkResourcePropertiesResponse", "statusDetails");
            }
            this.statusDetails = statusDetails;
            return this;
        }
        public NetworkResourcePropertiesResponse build() {
            final var _resultValue = new NetworkResourcePropertiesResponse();
            _resultValue.description = description;
            _resultValue.kind = kind;
            _resultValue.provisioningState = provisioningState;
            _resultValue.status = status;
            _resultValue.statusDetails = statusDetails;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy