/*
* Copyright (C) 2011 Citrix Systems, Inc. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License 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.
*/
package com.cloud.bridge.service.core.ec2;
/**
* An EC2 Image is a Cloud template.
*/
public class EC2Image {
private String id;
private String name;
private String description;
private String osTypeId;
private boolean isPublic;
private boolean isReady;
private String accountName;
private String domainId;
public EC2Image() {
id = null;
name = null;
description = null;
osTypeId = null;
isPublic = false;
isReady = false;
accountName = null;
domainId = null;
}
public void setId( String id ) {
this.id = id;
}
public String getId() {
return this.id;
}
public void setName( String name ) {
this.name = name;
}
public String getName() {
return this.name;
}
public void setDescription( String description ) {
this.description = description;
}
public String getDescription() {
return this.description;
}
public void setOsTypeId( String osTypeId ) {
this.osTypeId = osTypeId;
}
public String getOsTypeId() {
return this.osTypeId;
}
public void setIsPublic( boolean isPublic ) {
this.isPublic = isPublic;
}
public boolean getIsPublic() {
return this.isPublic;
}
public void setIsReady( boolean isReady ) {
this.isReady = isReady;
}
public boolean getIsReady() {
return this.isReady;
}
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public String getDomainId() {
return domainId;
}
public void setDomainId(String domainId) {
this.domainId = domainId;
}
}