com.azure.resourcemanager.mediaservices.fluent.models.AssetProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-mediaservices Show documentation
Show all versions of azure-resourcemanager-mediaservices Show documentation
This package contains Microsoft Azure SDK for MediaServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. This Swagger was generated by the API Framework. Package tag package-account-2023-01.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.mediaservices.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.mediaservices.models.AssetStorageEncryptionFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.UUID;
/** The Asset properties. */
@Fluent
public final class AssetProperties {
/*
* The Asset ID.
*/
@JsonProperty(value = "assetId", access = JsonProperty.Access.WRITE_ONLY)
private UUID assetId;
/*
* The creation date of the Asset.
*/
@JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime created;
/*
* The last modified date of the Asset.
*/
@JsonProperty(value = "lastModified", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime lastModified;
/*
* The alternate ID of the Asset.
*/
@JsonProperty(value = "alternateId")
private String alternateId;
/*
* The Asset description.
*/
@JsonProperty(value = "description")
private String description;
/*
* The name of the asset blob container.
*/
@JsonProperty(value = "container")
private String container;
/*
* The name of the storage account.
*/
@JsonProperty(value = "storageAccountName")
private String storageAccountName;
/*
* The Asset encryption format. One of None or MediaStorageEncryption.
*/
@JsonProperty(value = "storageEncryptionFormat", access = JsonProperty.Access.WRITE_ONLY)
private AssetStorageEncryptionFormat storageEncryptionFormat;
/**
* Get the assetId property: The Asset ID.
*
* @return the assetId value.
*/
public UUID assetId() {
return this.assetId;
}
/**
* Get the created property: The creation date of the Asset.
*
* @return the created value.
*/
public OffsetDateTime created() {
return this.created;
}
/**
* Get the lastModified property: The last modified date of the Asset.
*
* @return the lastModified value.
*/
public OffsetDateTime lastModified() {
return this.lastModified;
}
/**
* Get the alternateId property: The alternate ID of the Asset.
*
* @return the alternateId value.
*/
public String alternateId() {
return this.alternateId;
}
/**
* Set the alternateId property: The alternate ID of the Asset.
*
* @param alternateId the alternateId value to set.
* @return the AssetProperties object itself.
*/
public AssetProperties withAlternateId(String alternateId) {
this.alternateId = alternateId;
return this;
}
/**
* Get the description property: The Asset description.
*
* @return the description value.
*/
public String description() {
return this.description;
}
/**
* Set the description property: The Asset description.
*
* @param description the description value to set.
* @return the AssetProperties object itself.
*/
public AssetProperties withDescription(String description) {
this.description = description;
return this;
}
/**
* Get the container property: The name of the asset blob container.
*
* @return the container value.
*/
public String container() {
return this.container;
}
/**
* Set the container property: The name of the asset blob container.
*
* @param container the container value to set.
* @return the AssetProperties object itself.
*/
public AssetProperties withContainer(String container) {
this.container = container;
return this;
}
/**
* Get the storageAccountName property: The name of the storage account.
*
* @return the storageAccountName value.
*/
public String storageAccountName() {
return this.storageAccountName;
}
/**
* Set the storageAccountName property: The name of the storage account.
*
* @param storageAccountName the storageAccountName value to set.
* @return the AssetProperties object itself.
*/
public AssetProperties withStorageAccountName(String storageAccountName) {
this.storageAccountName = storageAccountName;
return this;
}
/**
* Get the storageEncryptionFormat property: The Asset encryption format. One of None or MediaStorageEncryption.
*
* @return the storageEncryptionFormat value.
*/
public AssetStorageEncryptionFormat storageEncryptionFormat() {
return this.storageEncryptionFormat;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy