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

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

Introduction

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

Prototype


public Boolean getRequiresIndexDocuments() 

Source Link

Document

True if IndexDocuments needs to be called to activate the current domain configuration.

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() });
        }//  w  ww . jav  a 2  s  .c om
        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() });
        }
    }

}