/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the lightsail-2016-11-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Lightsail.Model
{
///
/// Describes a blueprint (a virtual private server image).
///
public partial class Blueprint
{
private AppCategory _appCategory;
private string _blueprintId;
private string _description;
private string _group;
private bool? _isActive;
private string _licenseUrl;
private int? _minPower;
private string _name;
private InstancePlatform _platform;
private string _productUrl;
private BlueprintType _type;
private string _version;
private string _versionCode;
///
/// Gets and sets the property AppCategory.
///
/// Virtual computer blueprints that are supported by Lightsail for Research.
///
///
///
/// This parameter only applies to Lightsail for Research resources.
///
///
///
public AppCategory AppCategory
{
get { return this._appCategory; }
set { this._appCategory = value; }
}
// Check to see if AppCategory property is set
internal bool IsSetAppCategory()
{
return this._appCategory != null;
}
///
/// Gets and sets the property BlueprintId.
///
/// The ID for the virtual private server image (e.g., app_wordpress_4_4
/// or app_lamp_7_0
).
///
///
public string BlueprintId
{
get { return this._blueprintId; }
set { this._blueprintId = value; }
}
// Check to see if BlueprintId property is set
internal bool IsSetBlueprintId()
{
return this._blueprintId != null;
}
///
/// Gets and sets the property Description.
///
/// The description of the blueprint.
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Group.
///
/// The group name of the blueprint (e.g., amazon-linux
).
///
///
public string Group
{
get { return this._group; }
set { this._group = value; }
}
// Check to see if Group property is set
internal bool IsSetGroup()
{
return this._group != null;
}
///
/// Gets and sets the property IsActive.
///
/// A Boolean value indicating whether the blueprint is active. Inactive blueprints are
/// listed to support customers with existing instances but are not necessarily available
/// for launch of new instances. Blueprints are marked inactive when they become outdated
/// due to operating system updates or new application releases.
///
///
public bool IsActive
{
get { return this._isActive.GetValueOrDefault(); }
set { this._isActive = value; }
}
// Check to see if IsActive property is set
internal bool IsSetIsActive()
{
return this._isActive.HasValue;
}
///
/// Gets and sets the property LicenseUrl.
///
/// The end-user license agreement URL for the image or blueprint.
///
///
public string LicenseUrl
{
get { return this._licenseUrl; }
set { this._licenseUrl = value; }
}
// Check to see if LicenseUrl property is set
internal bool IsSetLicenseUrl()
{
return this._licenseUrl != null;
}
///
/// Gets and sets the property MinPower.
///
/// The minimum bundle power required to run this blueprint. For example, you need a bundle
/// with a power value of 500 or more to create an instance that uses a blueprint with
/// a minimum power value of 500. 0
indicates that the blueprint runs on
/// all instance sizes.
///
///
public int MinPower
{
get { return this._minPower.GetValueOrDefault(); }
set { this._minPower = value; }
}
// Check to see if MinPower property is set
internal bool IsSetMinPower()
{
return this._minPower.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The friendly name of the blueprint (e.g., Amazon Linux
).
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Platform.
///
/// The operating system platform (either Linux/Unix-based or Windows Server-based) of
/// the blueprint.
///
///
public InstancePlatform Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
///
/// Gets and sets the property ProductUrl.
///
/// The product URL to learn more about the image or blueprint.
///
///
public string ProductUrl
{
get { return this._productUrl; }
set { this._productUrl = value; }
}
// Check to see if ProductUrl property is set
internal bool IsSetProductUrl()
{
return this._productUrl != null;
}
///
/// Gets and sets the property Type.
///
/// The type of the blueprint (e.g., os
or app
).
///
///
public BlueprintType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Version.
///
/// The version number of the operating system, application, or stack (e.g., 2016.03.0
).
///
///
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
///
/// Gets and sets the property VersionCode.
///
/// The version code.
///
///
public string VersionCode
{
get { return this._versionCode; }
set { this._versionCode = value; }
}
// Check to see if VersionCode property is set
internal bool IsSetVersionCode()
{
return this._versionCode != null;
}
}
}