@Test public void testIsUp() { assertTrue( new RdsInstance( "id", "az", "vpc", false, "available", ImmutableListMultimap.of(), ImmutableList.of()) .isUp()); assertTrue( new RdsInstance( "id", "az", "vpc", false, "backing-up", ImmutableListMultimap.of(), ImmutableList.of()) .isUp()); assertFalse( new RdsInstance( "id", "az", "vpc", false, "stopped", ImmutableListMultimap.of(), ImmutableList.of()) .isUp()); }
@JsonIgnore public boolean isUp() { return !_DOWN_STATES.contains(_dbInstanceStatus); }
RdsInstance implements AwsVpcEntity, Serializable { @JsonIgnore public boolean isUp() { return !_DOWN_STATES.contains(_dbInstanceStatus); } }
RdsInstance implements AwsVpcEntity, Serializable { @JsonIgnore public boolean isUp() { return !_DOWN_STATES.contains(_dbInstanceStatus); } RdsInstance(
      String dbInstanceIdentifier,
      String availabilityZone,
      String vpcId,
      boolean multiAz,
      String dbInstanceStatus,
      ListMultimap<String, String> azSubnetIds,
      List<String> securityGroups); }
RdsInstance implements AwsVpcEntity, Serializable { @JsonIgnore public boolean isUp() { return !_DOWN_STATES.contains(_dbInstanceStatus); } RdsInstance(
      String dbInstanceIdentifier,
      String availabilityZone,
      String vpcId,
      boolean multiAz,
      String dbInstanceStatus,
      ListMultimap<String, String> azSubnetIds,
      List<String> securityGroups); @Override String getId(); Multimap<String, String> getAzSubnetIds(); @Nonnull String getVpcId(); boolean getMultiAz(); @Nonnull String getAvailabilityZone(); @Nonnull List<String> getSecurityGroups(); @Nonnull String getDbInstanceStatus(); @JsonIgnore boolean isUp(); @Override boolean equals(Object o); @Override int hashCode(); }
RdsInstance implements AwsVpcEntity, Serializable { @JsonIgnore public boolean isUp() { return !_DOWN_STATES.contains(_dbInstanceStatus); } RdsInstance(
      String dbInstanceIdentifier,
      String availabilityZone,
      String vpcId,
      boolean multiAz,
      String dbInstanceStatus,
      ListMultimap<String, String> azSubnetIds,
      List<String> securityGroups); @Override String getId(); Multimap<String, String> getAzSubnetIds(); @Nonnull String getVpcId(); boolean getMultiAz(); @Nonnull String getAvailabilityZone(); @Nonnull List<String> getSecurityGroups(); @Nonnull String getDbInstanceStatus(); @JsonIgnore boolean isUp(); @Override boolean equals(Object o); @Override int hashCode();  }