Example usage for com.amazonaws.services.cloudsearchv2.model DomainStatus getCreated

List of usage examples for com.amazonaws.services.cloudsearchv2.model DomainStatus getCreated

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudsearchv2.model DomainStatus getCreated.

Prototype


public Boolean getCreated() 

Source Link

Document

True if the search domain is created.

Usage

From source file:com.haskins.cloudtrailviewer.dialog.resourcedetail.detailpanels.CsDomainDetail.java

License:Open Source License

private void buildUI(DescribeDomainsResult detail) {

    this.add(primaryScrollPane, BorderLayout.CENTER);

    if (!detail.getDomainStatusList().isEmpty()) {

        List<DomainStatus> domains = detail.getDomainStatusList();
        DomainStatus domain = domains.get(0);

        if (domain.getARN() != null) {
            primaryTableModel.addRow(new Object[] { "Arn", domain.getARN() });
        }/*from w w w  .  ja  va 2s  .  co  m*/
        if (domain.getCreated() != null) {
            primaryTableModel.addRow(new Object[] { "Created", domain.getCreated() });
        }
        if (domain.getDeleted() != null) {
            primaryTableModel.addRow(new Object[] { "Deleted", domain.getDeleted() });
        }
        if (domain.getDocService() != null) {
            primaryTableModel.addRow(new Object[] { "Document Service", domain.getDocService().getEndpoint() });
        }
        if (domain.getDomainId() != null) {
            primaryTableModel.addRow(new Object[] { "Domain Id", domain.getDomainId() });
        }
        if (domain.getDomainName() != null) {
            primaryTableModel.addRow(new Object[] { "Domain Name", domain.getDomainName() });
        }
        if (domain.getProcessing() != null) {
            primaryTableModel.addRow(new Object[] { "Processing", domain.getProcessing() });
        }
        if (domain.getRequiresIndexDocuments() != null) {
            primaryTableModel.addRow(new Object[] { "Requires Index Document", domain.getProcessing() });
        }
        if (domain.getSearchInstanceCount() != null) {
            primaryTableModel.addRow(new Object[] { "Search Status Cound", domain.getSearchInstanceCount() });
        }
        if (domain.getSearchInstanceType() != null) {
            primaryTableModel.addRow(new Object[] { "Search Instance Type", domain.getSearchInstanceType() });
        }
        if (domain.getSearchPartitionCount() != null) {
            primaryTableModel
                    .addRow(new Object[] { "Search Partition Count", domain.getSearchPartitionCount() });
        }
        if (domain.getSearchService() != null) {
            primaryTableModel
                    .addRow(new Object[] { "Search Service", domain.getSearchService().getEndpoint() });
        }
    }

}