本文整理了Java中com.amazonaws.services.s3.model.QueueConfiguration
类的一些代码示例,展示了QueueConfiguration
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueueConfiguration
类的具体详情如下:
包路径:com.amazonaws.services.s3.model.QueueConfiguration
类名称:QueueConfiguration
[英]Represents the queue configuration for an Amazon S3 bucket.
[中]表示Amazon S3存储桶的队列配置。
代码示例来源:origin: aws/aws-sdk-java
protected QueueConfiguration createConfiguration() {
return new QueueConfiguration();
}
代码示例来源:origin: aws/aws-sdk-java
/**
* Fluent method to set the queue ARN for this configuration
*
* @param queueARN
* ARN for the SQS queue
* @return This object for method chaining
*/
public QueueConfiguration withQueueARN(String queueARN) {
setQueueARN(queueARN);
return this;
}
}
代码示例来源:origin: aws/aws-sdk-java
xml.start("Id").value(configName).end();
xml.start("Queue")
.value(((QueueConfiguration) config).getQueueARN())
.end();
addEventsAndFilterCriteria(xml, config);
代码示例来源:origin: aws-amplify/aws-sdk-android
@Test
public void unmarshall_ValidQueueConfiguration() throws Exception {
final BucketNotificationConfiguration config = unmarshaller.unmarshall(getResource(QUEUE_INPUT));
final QueueConfiguration queueConfig = (QueueConfiguration) config.getConfigurationByName("QueueConfigId");
assertEquals("some-queue-arn", queueConfig.getQueueARN());
assertEventsUnmarshalledCorrectly(queueConfig.getEvents());
assertFilterRulesUnmarshalledCorrectly(queueConfig.getFilter().getS3KeyFilter().getFilterRules());
}
代码示例来源:origin: aws-amplify/aws-sdk-android
xml.start("Id").value(configName).end();
xml.start("Queue")
.value(((QueueConfiguration) config).getQueueARN())
.end();
addEventsAndFilterCriteria(xml, config);
代码示例来源:origin: aws/aws-sdk-java
protected boolean handleXmlEvent(QueueConfiguration queueConfig, StaxUnmarshallerContext context, int targetDepth)
throws Exception {
if (context.testExpression("Queue", targetDepth)) {
queueConfig.setQueueARN(StringStaxUnmarshaller.getInstance().unmarshall(context));
return true;
}
return false;
}
代码示例来源:origin: com.amazonaws/aws-android-sdk-s3
xml.start("Id").value(configName).end();
xml.start("Queue")
.value(((QueueConfiguration) config).getQueueARN())
.end();
addEventsAndFilterCriteria(xml, config);
代码示例来源:origin: aws-amplify/aws-sdk-android
protected QueueConfiguration createConfiguration() {
return new QueueConfiguration();
}
代码示例来源:origin: aws-amplify/aws-sdk-android
/**
* Fluent method to set the queue ARN for this configuration
*
* @param queueARN
* ARN for the SQS queue
* @return This object for method chaining
*/
public QueueConfiguration withQueueARN(String queueARN) {
setQueueARN(queueARN);
return this;
}
}
代码示例来源:origin: Nextdoor/bender
xml.start("Id").value(configName).end();
xml.start("Queue")
.value(((QueueConfiguration) config).getQueueARN())
.end();
addEventsAndFilterCriteria(xml, config);
代码示例来源:origin: com.amazonaws/aws-android-sdk-s3
protected QueueConfiguration createConfiguration() {
return new QueueConfiguration();
}
代码示例来源:origin: aws-amplify/aws-sdk-android
protected boolean handleXmlEvent(QueueConfiguration queueConfig, StaxUnmarshallerContext context, int targetDepth)
throws Exception {
if (context.testExpression("Queue", targetDepth)) {
queueConfig.setQueueARN(StringStaxUnmarshaller.getInstance().unmarshall(context));
return true;
}
return false;
}
代码示例来源:origin: Nextdoor/bender
protected QueueConfiguration createConfiguration() {
return new QueueConfiguration();
}
代码示例来源:origin: com.amazonaws/aws-android-sdk-s3
/**
* Fluent method to set the queue ARN for this configuration
*
* @param queueARN
* ARN for the SQS queue
* @return This object for method chaining
*/
public QueueConfiguration withQueueARN(String queueARN) {
setQueueARN(queueARN);
return this;
}
}
代码示例来源:origin: Nextdoor/bender
/**
* Fluent method to set the queue ARN for this configuration
*
* @param queueARN
* ARN for the SQS queue
* @return This object for method chaining
*/
public QueueConfiguration withQueueARN(String queueARN) {
setQueueARN(queueARN);
return this;
}
}
代码示例来源:origin: com.amazonaws/aws-android-sdk-s3
protected boolean handleXmlEvent(QueueConfiguration queueConfig, StaxUnmarshallerContext context, int targetDepth)
throws Exception {
if (context.testExpression("Queue", targetDepth)) {
queueConfig.setQueueARN(StringStaxUnmarshaller.getInstance().unmarshall(context));
return true;
}
return false;
}
代码示例来源:origin: Nextdoor/bender
protected boolean handleXmlEvent(QueueConfiguration queueConfig, StaxUnmarshallerContext context, int targetDepth)
throws Exception {
if (context.testExpression("Queue", targetDepth)) {
queueConfig.setQueueARN(StringStaxUnmarshaller.getInstance().unmarshall(context));
return true;
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!