encryptionConfiguration = null; } else if (name.equals(ROLE)) { bucketReplicationConfiguration.setRoleARN(getText()); currentRuleId = getText(); } else if (name.equals(PREFIX)) { currentRule.setPrefix(getText()); } else if (name.equals(PRIORITY)) { currentRule.setPriority(Integer.valueOf(getText())); } else if (name.equals(DELETE_MARKER_REPLICATION)) { currentRule.setDeleteMarkerReplication(deleteMarkerReplication); } else { if (name.equals(STATUS)) { currentRule.setStatus(getText()); currentFilter.setPredicate(new ReplicationPrefixPredicate(getText())); } else if (name.equals(TAG)) { currentFilter.setPredicate(new ReplicationTagPredicate(new Tag(currentTagKey, currentTagValue))); currentTagKey = getText(); } else if (name.equals(TAG_VALUE)) { currentTagValue = getText(); andOperandsList.add(new ReplicationPrefixPredicate(getText())); } else if (name.equals(TAG)) { andOperandsList.add(new ReplicationTagPredicate(new Tag(currentTagKey, currentTagValue))); currentTagKey = getText();
destinationConfig = null; } else if (name.equals(ROLE)) { bucketReplicationConfiguration.setRoleARN(getText()); currentRuleId = getText(); } else if (name.equals(PREFIX)) { currentRule.setPrefix(getText()); } else { if (name.equals(STATUS)) { currentRule.setStatus(getText()); destinationConfig.setBucketARN(getText()); } else if (name.equals(STORAGECLASS)) { destinationConfig.setStorageClass(getText());
destinationConfig = null; } else if (name.equals(ROLE)) { bucketReplicationConfiguration.setRoleARN(getText()); currentRuleId = getText(); } else if (name.equals(PREFIX)) { currentRule.setPrefix(getText()); } else { if (name.equals(STATUS)) { currentRule.setStatus(getText()); destinationConfig.setBucketARN(getText()); } else if (name.equals(STORAGECLASS)) { destinationConfig.setStorageClass(getText());
encryptionConfiguration = null; } else if (name.equals(ROLE)) { bucketReplicationConfiguration.setRoleARN(getText()); currentRuleId = getText(); } else if (name.equals(PREFIX)) { currentRule.setPrefix(getText()); } else if (name.equals(SOURCE_SELECTION_CRITERIA)) { currentRule.setSourceSelectionCriteria(sourceSelectionCriteria); } else { if (name.equals(STATUS)) { currentRule.setStatus(getText()); sseKmsEncryptedObjects.setStatus(getText()); destinationConfig.setBucketARN(getText()); } else if (name.equals(STORAGECLASS)) { destinationConfig.setStorageClass(getText()); } else if (name.equals(ACCOUNT)) { destinationConfig.setAccount(getText()); } else if (name.equals(ACCESS_CONTROL_TRANSLATION)) { destinationConfig.setAccessControlTranslation(accessControlTranslation); accessControlTranslation.setOwner(getText()); encryptionConfiguration.setReplicaKmsKeyID(getText());