com.pulumi.azurenative.media.outputs.GetStreamingPolicyResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.CommonEncryptionCbcsResponse;
import com.pulumi.azurenative.media.outputs.CommonEncryptionCencResponse;
import com.pulumi.azurenative.media.outputs.EnvelopeEncryptionResponse;
import com.pulumi.azurenative.media.outputs.NoEncryptionResponse;
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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetStreamingPolicyResult {
/**
* @return Configuration of CommonEncryptionCbcs
*
*/
private @Nullable CommonEncryptionCbcsResponse commonEncryptionCbcs;
/**
* @return Configuration of CommonEncryptionCenc
*
*/
private @Nullable CommonEncryptionCencResponse commonEncryptionCenc;
/**
* @return Creation time of Streaming Policy
*
*/
private String created;
/**
* @return Default ContentKey used by current Streaming Policy
*
*/
private @Nullable String defaultContentKeyPolicyName;
/**
* @return Configuration of EnvelopeEncryption
*
*/
private @Nullable EnvelopeEncryptionResponse envelopeEncryption;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Configurations of NoEncryption
*
*/
private @Nullable NoEncryptionResponse noEncryption;
/**
* @return The system metadata relating to this resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetStreamingPolicyResult() {}
/**
* @return Configuration of CommonEncryptionCbcs
*
*/
public Optional commonEncryptionCbcs() {
return Optional.ofNullable(this.commonEncryptionCbcs);
}
/**
* @return Configuration of CommonEncryptionCenc
*
*/
public Optional commonEncryptionCenc() {
return Optional.ofNullable(this.commonEncryptionCenc);
}
/**
* @return Creation time of Streaming Policy
*
*/
public String created() {
return this.created;
}
/**
* @return Default ContentKey used by current Streaming Policy
*
*/
public Optional defaultContentKeyPolicyName() {
return Optional.ofNullable(this.defaultContentKeyPolicyName);
}
/**
* @return Configuration of EnvelopeEncryption
*
*/
public Optional envelopeEncryption() {
return Optional.ofNullable(this.envelopeEncryption);
}
/**
* @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 name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Configurations of NoEncryption
*
*/
public Optional noEncryption() {
return Optional.ofNullable(this.noEncryption);
}
/**
* @return The system metadata relating to this resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @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(GetStreamingPolicyResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable CommonEncryptionCbcsResponse commonEncryptionCbcs;
private @Nullable CommonEncryptionCencResponse commonEncryptionCenc;
private String created;
private @Nullable String defaultContentKeyPolicyName;
private @Nullable EnvelopeEncryptionResponse envelopeEncryption;
private String id;
private String name;
private @Nullable NoEncryptionResponse noEncryption;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetStreamingPolicyResult defaults) {
Objects.requireNonNull(defaults);
this.commonEncryptionCbcs = defaults.commonEncryptionCbcs;
this.commonEncryptionCenc = defaults.commonEncryptionCenc;
this.created = defaults.created;
this.defaultContentKeyPolicyName = defaults.defaultContentKeyPolicyName;
this.envelopeEncryption = defaults.envelopeEncryption;
this.id = defaults.id;
this.name = defaults.name;
this.noEncryption = defaults.noEncryption;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder commonEncryptionCbcs(@Nullable CommonEncryptionCbcsResponse commonEncryptionCbcs) {
this.commonEncryptionCbcs = commonEncryptionCbcs;
return this;
}
@CustomType.Setter
public Builder commonEncryptionCenc(@Nullable CommonEncryptionCencResponse commonEncryptionCenc) {
this.commonEncryptionCenc = commonEncryptionCenc;
return this;
}
@CustomType.Setter
public Builder created(String created) {
if (created == null) {
throw new MissingRequiredPropertyException("GetStreamingPolicyResult", "created");
}
this.created = created;
return this;
}
@CustomType.Setter
public Builder defaultContentKeyPolicyName(@Nullable String defaultContentKeyPolicyName) {
this.defaultContentKeyPolicyName = defaultContentKeyPolicyName;
return this;
}
@CustomType.Setter
public Builder envelopeEncryption(@Nullable EnvelopeEncryptionResponse envelopeEncryption) {
this.envelopeEncryption = envelopeEncryption;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetStreamingPolicyResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStreamingPolicyResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder noEncryption(@Nullable NoEncryptionResponse noEncryption) {
this.noEncryption = noEncryption;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetStreamingPolicyResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetStreamingPolicyResult", "type");
}
this.type = type;
return this;
}
public GetStreamingPolicyResult build() {
final var _resultValue = new GetStreamingPolicyResult();
_resultValue.commonEncryptionCbcs = commonEncryptionCbcs;
_resultValue.commonEncryptionCenc = commonEncryptionCenc;
_resultValue.created = created;
_resultValue.defaultContentKeyPolicyName = defaultContentKeyPolicyName;
_resultValue.envelopeEncryption = envelopeEncryption;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.noEncryption = noEncryption;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy