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

com.pulumi.azurenative.media.outputs.GetMediaServiceResult 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.media.outputs;

import com.pulumi.azurenative.media.outputs.AccountEncryptionResponse;
import com.pulumi.azurenative.media.outputs.KeyDeliveryResponse;
import com.pulumi.azurenative.media.outputs.MediaServiceIdentityResponse;
import com.pulumi.azurenative.media.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.media.outputs.StorageAccountResponse;
import com.pulumi.azurenative.media.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetMediaServiceResult {
    /**
     * @return The account encryption properties.
     * 
     */
    private @Nullable AccountEncryptionResponse encryption;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The Managed Identity for the Media Services account.
     * 
     */
    private @Nullable MediaServiceIdentityResponse identity;
    /**
     * @return The Key Delivery properties for Media Services account.
     * 
     */
    private @Nullable KeyDeliveryResponse keyDelivery;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The Media Services account ID.
     * 
     */
    private String mediaServiceId;
    /**
     * @return The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.
     * 
     */
    private @Nullable String minimumTlsVersion;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The Private Endpoint Connections created for the Media Service account.
     * 
     */
    private List privateEndpointConnections;
    /**
     * @return Provisioning state of the Media Services account.
     * 
     */
    private String provisioningState;
    /**
     * @return Whether or not public network access is allowed for resources under the Media Services account.
     * 
     */
    private @Nullable String publicNetworkAccess;
    /**
     * @return The storage accounts for this resource.
     * 
     */
    private @Nullable List storageAccounts;
    private @Nullable String storageAuthentication;
    /**
     * @return The system metadata relating to this resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetMediaServiceResult() {}
    /**
     * @return The account encryption properties.
     * 
     */
    public Optional encryption() {
        return Optional.ofNullable(this.encryption);
    }
    /**
     * @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 Managed Identity for the Media Services account.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return The Key Delivery properties for Media Services account.
     * 
     */
    public Optional keyDelivery() {
        return Optional.ofNullable(this.keyDelivery);
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The Media Services account ID.
     * 
     */
    public String mediaServiceId() {
        return this.mediaServiceId;
    }
    /**
     * @return The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.
     * 
     */
    public Optional minimumTlsVersion() {
        return Optional.ofNullable(this.minimumTlsVersion);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The Private Endpoint Connections created for the Media Service account.
     * 
     */
    public List privateEndpointConnections() {
        return this.privateEndpointConnections;
    }
    /**
     * @return Provisioning state of the Media Services account.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Whether or not public network access is allowed for resources under the Media Services account.
     * 
     */
    public Optional publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }
    /**
     * @return The storage accounts for this resource.
     * 
     */
    public List storageAccounts() {
        return this.storageAccounts == null ? List.of() : this.storageAccounts;
    }
    public Optional storageAuthentication() {
        return Optional.ofNullable(this.storageAuthentication);
    }
    /**
     * @return The system metadata relating to this resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetMediaServiceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable AccountEncryptionResponse encryption;
        private String id;
        private @Nullable MediaServiceIdentityResponse identity;
        private @Nullable KeyDeliveryResponse keyDelivery;
        private String location;
        private String mediaServiceId;
        private @Nullable String minimumTlsVersion;
        private String name;
        private List privateEndpointConnections;
        private String provisioningState;
        private @Nullable String publicNetworkAccess;
        private @Nullable List storageAccounts;
        private @Nullable String storageAuthentication;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetMediaServiceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.encryption = defaults.encryption;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.keyDelivery = defaults.keyDelivery;
    	      this.location = defaults.location;
    	      this.mediaServiceId = defaults.mediaServiceId;
    	      this.minimumTlsVersion = defaults.minimumTlsVersion;
    	      this.name = defaults.name;
    	      this.privateEndpointConnections = defaults.privateEndpointConnections;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicNetworkAccess = defaults.publicNetworkAccess;
    	      this.storageAccounts = defaults.storageAccounts;
    	      this.storageAuthentication = defaults.storageAuthentication;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder encryption(@Nullable AccountEncryptionResponse encryption) {

            this.encryption = encryption;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable MediaServiceIdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder keyDelivery(@Nullable KeyDeliveryResponse keyDelivery) {

            this.keyDelivery = keyDelivery;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder mediaServiceId(String mediaServiceId) {
            if (mediaServiceId == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "mediaServiceId");
            }
            this.mediaServiceId = mediaServiceId;
            return this;
        }
        @CustomType.Setter
        public Builder minimumTlsVersion(@Nullable String minimumTlsVersion) {

            this.minimumTlsVersion = minimumTlsVersion;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpointConnections(List privateEndpointConnections) {
            if (privateEndpointConnections == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "privateEndpointConnections");
            }
            this.privateEndpointConnections = privateEndpointConnections;
            return this;
        }
        public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {

            this.publicNetworkAccess = publicNetworkAccess;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccounts(@Nullable List storageAccounts) {

            this.storageAccounts = storageAccounts;
            return this;
        }
        public Builder storageAccounts(StorageAccountResponse... storageAccounts) {
            return storageAccounts(List.of(storageAccounts));
        }
        @CustomType.Setter
        public Builder storageAuthentication(@Nullable String storageAuthentication) {

            this.storageAuthentication = storageAuthentication;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetMediaServiceResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetMediaServiceResult build() {
            final var _resultValue = new GetMediaServiceResult();
            _resultValue.encryption = encryption;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.keyDelivery = keyDelivery;
            _resultValue.location = location;
            _resultValue.mediaServiceId = mediaServiceId;
            _resultValue.minimumTlsVersion = minimumTlsVersion;
            _resultValue.name = name;
            _resultValue.privateEndpointConnections = privateEndpointConnections;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicNetworkAccess = publicNetworkAccess;
            _resultValue.storageAccounts = storageAccounts;
            _resultValue.storageAuthentication = storageAuthentication;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy