Package com.amazonaws.services.s3.model

Examples of com.amazonaws.services.s3.model.NotificationConfiguration.withObjectPrefixes()


                NotificationConfiguration configuration = null;
                if (name.equals("TopicConfiguration")) {
                    configuration = new com.amazonaws.services.s3.model.TopicConfiguration(
                            destinationArn, events.toArray(new String[events
                                    .size()]));
                    configuration.withObjectPrefixes(prefixes
                            .toArray(new String[prefixes.size()]));
                } else if (name.equals("QueueConfiguration")) {
                    configuration = new QueueConfiguration(destinationArn,
                            events.toArray(new String[events.size()]));
                    configuration.withObjectPrefixes(prefixes
View Full Code Here


                    configuration.withObjectPrefixes(prefixes
                            .toArray(new String[prefixes.size()]));
                } else if (name.equals("QueueConfiguration")) {
                    configuration = new QueueConfiguration(destinationArn,
                            events.toArray(new String[events.size()]));
                    configuration.withObjectPrefixes(prefixes
                            .toArray(new String[prefixes.size()]));
        } else if (name.equals("CloudFunctionConfiguration")) {
          configuration = new CloudFunctionConfiguration(
              invocationRole, destinationArn,
              events.toArray(new String[events.size()]));
View Full Code Here

                            .toArray(new String[prefixes.size()]));
        } else if (name.equals("CloudFunctionConfiguration")) {
          configuration = new CloudFunctionConfiguration(
              invocationRole, destinationArn,
              events.toArray(new String[events.size()]));
          configuration.withObjectPrefixes(prefixes
              .toArray(new String[prefixes.size()]));
        }

                if (configuration != null) {
                    // TODO : The below condition needs to be removed when the
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.