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
10 package com
.amazon
.s3
;
12 import java
.util
.Date
;
15 * A class representing a single bucket. Returned as a component of ListAllMyBucketsResponse.
19 * The name of the bucket.
24 * The bucket's creation date.
26 public Date creationDate
;
30 this.creationDate
= null;
33 public Bucket(String name
, Date creationDate
) {
35 this.creationDate
= creationDate
;
38 public String
toString() {