Example usage for com.amazonaws.services.rds.model ReservedDBInstancesOffering getMultiAZ

List of usage examples for com.amazonaws.services.rds.model ReservedDBInstancesOffering getMultiAZ

Introduction

In this page you can find the example usage for com.amazonaws.services.rds.model ReservedDBInstancesOffering getMultiAZ.

Prototype


public Boolean getMultiAZ() 

Source Link

Document

Indicates if the offering applies to Multi-AZ deployments.

Usage

From source file:com.msi.tough.rdsquery.RDSQueryUtil.java

public static void marshalReservedDBInstance(XMLNode parent, ReservedDBInstancesOffering o) {
    QueryUtil.addNode(parent, RDS_Constants.NODE_CURRENCYCODE, o.getCurrencyCode());
    QueryUtil.addNode(parent, RDS_Constants.NODE_DBINSTANCECLASS, o.getDBInstanceClass());

    // TODO: update aws sdk for this
    //QueryUtil.addNode(no, RDS_Constants.NODE_DBINSTANCECOUNT, o.getDBInstanceCount());

    QueryUtil.addNode(parent, RDS_Constants.NODE_DURATION, o.getDuration());
    QueryUtil.addNode(parent, RDS_Constants.NODE_FIXEDPRICE, o.getFixedPrice());
    QueryUtil.addNode(parent, RDS_Constants.NODE_MULTIAZ, o.getMultiAZ());

    // TODO: update aws sdk for this
    //QueryUtil.addNode(no, RDS_Constants.NODE_OFFERINGTYPE, o.getOfferingType());

    QueryUtil.addNode(parent, RDS_Constants.NODE_PRODUCTDESCRIPTION, o.getProductDescription());

    // TODO: update aws sdk for these
    //QueryUtil.addNode(no, RDS_Constants.NODE_RECURRINGCHARGES, o.getRecurringCharges());
    //QueryUtil.addNode(no, RDS_Constants.NODE_RESERVEDDBINSTANCEID, o.getReservedDBInstanceId());

    QueryUtil.addNode(parent, RDS_Constants.NODE_RESERVEDDBINSTANCESOFFERINGID,
            o.getReservedDBInstancesOfferingId());

    // TODO: update aws sdk for these
    //QueryUtil.addNode(no, RDS_Constants.NODE_STARTTIME, o.getStartTime());
    //QueryUtil.addNode(no, RDS_Constants.NODE_STATUS, o.getState();

    QueryUtil.addNode(parent, RDS_Constants.NODE_USAGEPRICE, o.getUsagePrice());
}