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

com.pulumi.azurenative.relay.outputs.GetWCFRelayResult Maven / Gradle / Ivy

There is a newer version: 2.78.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.pulumi.azurenative.relay.outputs;

import com.pulumi.azurenative.relay.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetWCFRelayResult {
    /**
     * @return The time the WCF relay was created.
     * 
     */
    private String createdAt;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Returns true if the relay is dynamic; otherwise, false.
     * 
     */
    private Boolean isDynamic;
    /**
     * @return The number of listeners for this relay. Note that min :1 and max:25 are supported.
     * 
     */
    private Integer listenerCount;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return WCF relay type.
     * 
     */
    private @Nullable String relayType;
    /**
     * @return Returns true if client authorization is needed for this relay; otherwise, false.
     * 
     */
    private @Nullable Boolean requiresClientAuthorization;
    /**
     * @return Returns true if transport security is needed for this relay; otherwise, false.
     * 
     */
    private @Nullable Boolean requiresTransportSecurity;
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
     * 
     */
    private String type;
    /**
     * @return The time the namespace was updated.
     * 
     */
    private String updatedAt;
    /**
     * @return The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
     * 
     */
    private @Nullable String userMetadata;

    private GetWCFRelayResult() {}
    /**
     * @return The time the WCF relay was created.
     * 
     */
    public String createdAt() {
        return this.createdAt;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Returns true if the relay is dynamic; otherwise, false.
     * 
     */
    public Boolean isDynamic() {
        return this.isDynamic;
    }
    /**
     * @return The number of listeners for this relay. Note that min :1 and max:25 are supported.
     * 
     */
    public Integer listenerCount() {
        return this.listenerCount;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return WCF relay type.
     * 
     */
    public Optional relayType() {
        return Optional.ofNullable(this.relayType);
    }
    /**
     * @return Returns true if client authorization is needed for this relay; otherwise, false.
     * 
     */
    public Optional requiresClientAuthorization() {
        return Optional.ofNullable(this.requiresClientAuthorization);
    }
    /**
     * @return Returns true if transport security is needed for this relay; otherwise, false.
     * 
     */
    public Optional requiresTransportSecurity() {
        return Optional.ofNullable(this.requiresTransportSecurity);
    }
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The time the namespace was updated.
     * 
     */
    public String updatedAt() {
        return this.updatedAt;
    }
    /**
     * @return The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
     * 
     */
    public Optional userMetadata() {
        return Optional.ofNullable(this.userMetadata);
    }

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

    public static Builder builder(GetWCFRelayResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String createdAt;
        private String id;
        private Boolean isDynamic;
        private Integer listenerCount;
        private String location;
        private String name;
        private @Nullable String relayType;
        private @Nullable Boolean requiresClientAuthorization;
        private @Nullable Boolean requiresTransportSecurity;
        private SystemDataResponse systemData;
        private String type;
        private String updatedAt;
        private @Nullable String userMetadata;
        public Builder() {}
        public Builder(GetWCFRelayResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createdAt = defaults.createdAt;
    	      this.id = defaults.id;
    	      this.isDynamic = defaults.isDynamic;
    	      this.listenerCount = defaults.listenerCount;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.relayType = defaults.relayType;
    	      this.requiresClientAuthorization = defaults.requiresClientAuthorization;
    	      this.requiresTransportSecurity = defaults.requiresTransportSecurity;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
    	      this.updatedAt = defaults.updatedAt;
    	      this.userMetadata = defaults.userMetadata;
        }

        @CustomType.Setter
        public Builder createdAt(String createdAt) {
            if (createdAt == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "createdAt");
            }
            this.createdAt = createdAt;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder isDynamic(Boolean isDynamic) {
            if (isDynamic == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "isDynamic");
            }
            this.isDynamic = isDynamic;
            return this;
        }
        @CustomType.Setter
        public Builder listenerCount(Integer listenerCount) {
            if (listenerCount == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "listenerCount");
            }
            this.listenerCount = listenerCount;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder relayType(@Nullable String relayType) {

            this.relayType = relayType;
            return this;
        }
        @CustomType.Setter
        public Builder requiresClientAuthorization(@Nullable Boolean requiresClientAuthorization) {

            this.requiresClientAuthorization = requiresClientAuthorization;
            return this;
        }
        @CustomType.Setter
        public Builder requiresTransportSecurity(@Nullable Boolean requiresTransportSecurity) {

            this.requiresTransportSecurity = requiresTransportSecurity;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder updatedAt(String updatedAt) {
            if (updatedAt == null) {
              throw new MissingRequiredPropertyException("GetWCFRelayResult", "updatedAt");
            }
            this.updatedAt = updatedAt;
            return this;
        }
        @CustomType.Setter
        public Builder userMetadata(@Nullable String userMetadata) {

            this.userMetadata = userMetadata;
            return this;
        }
        public GetWCFRelayResult build() {
            final var _resultValue = new GetWCFRelayResult();
            _resultValue.createdAt = createdAt;
            _resultValue.id = id;
            _resultValue.isDynamic = isDynamic;
            _resultValue.listenerCount = listenerCount;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.relayType = relayType;
            _resultValue.requiresClientAuthorization = requiresClientAuthorization;
            _resultValue.requiresTransportSecurity = requiresTransportSecurity;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            _resultValue.updatedAt = updatedAt;
            _resultValue.userMetadata = userMetadata;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy