@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceS3Location extends Object implements Serializable, Cloneable, StructuredPojo
Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from.
Constructor and Description |
---|
SourceS3Location() |
Modifier and Type | Method and Description |
---|---|
SourceS3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Name of the bucket.
|
String |
getKey()
Key of the object.
|
String |
getRegion()
Region of the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
Name of the bucket.
|
void |
setKey(String key)
Key of the object.
|
void |
setRegion(String region)
Region of the bucket.
|
String |
toString()
Returns a string representation of this object.
|
SourceS3Location |
withBucket(String bucket)
Name of the bucket.
|
SourceS3Location |
withKey(String key)
Key of the object.
|
SourceS3Location |
withRegion(S3BucketRegion region)
Region of the bucket.
|
SourceS3Location |
withRegion(String region)
Region of the bucket.
|
public void setBucket(String bucket)
Name of the bucket.
bucket
- Name of the bucket.public String getBucket()
Name of the bucket.
public SourceS3Location withBucket(String bucket)
Name of the bucket.
bucket
- Name of the bucket.public void setKey(String key)
Key of the object.
key
- Key of the object.public String getKey()
Key of the object.
public SourceS3Location withKey(String key)
Key of the object.
key
- Key of the object.public void setRegion(String region)
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
region
- Region of the bucket. Only required for Regions that are disabled by default. For more infomration about
Regions that are disabled by default, see Enabling a
Region in the AWS General Reference guide.S3BucketRegion
public String getRegion()
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
S3BucketRegion
public SourceS3Location withRegion(String region)
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
region
- Region of the bucket. Only required for Regions that are disabled by default. For more infomration about
Regions that are disabled by default, see Enabling a
Region in the AWS General Reference guide.S3BucketRegion
public SourceS3Location withRegion(S3BucketRegion region)
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
region
- Region of the bucket. Only required for Regions that are disabled by default. For more infomration about
Regions that are disabled by default, see Enabling a
Region in the AWS General Reference guide.S3BucketRegion
public String toString()
toString
in class Object
Object.toString()
public SourceS3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.