adding all of botlist, initial add
[botlist.git] / botlistprojects / botprojects_lib / java / src / com / amazon / s3 / Bucket.java
blobaab89a6ea2ead9383cf453a88576b6ac03cf68d9
1 // This software code is made available "AS IS" without warranties of any
2 // kind. You may copy, display, modify and redistribute the software
3 // code either by itself or as incorporated into your code; provided that
4 // you do not remove any proprietary notices. Your use of this software
5 // code is at your own risk and you waive any claim against Amazon
6 // Digital Services, Inc. or its affiliates with respect to your use of
7 // this software code. (c) 2006 Amazon Digital Services, Inc. or its
8 // affiliates.
10 package com.amazon.s3;
12 import java.util.Date;
14 /**
15 * A class representing a single bucket. Returned as a component of ListAllMyBucketsResponse.
17 public class Bucket {
18 /**
19 * The name of the bucket.
21 public String name;
23 /**
24 * The bucket's creation date.
26 public Date creationDate;
28 public Bucket() {
29 this.name = null;
30 this.creationDate = null;
33 public Bucket(String name, Date creationDate) {
34 this.name = name;
35 this.creationDate = creationDate;
38 public String toString() {
39 return this.name;