@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler reports are generated and then written to.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
Name of the S3 bucket.
|
String |
getPrefix()
Prefix for the location to write to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
Name of the S3 bucket.
|
void |
setPrefix(String prefix)
Prefix for the location to write to.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
Name of the S3 bucket.
|
S3Location |
withPrefix(String prefix)
Prefix for the location to write to.
|
public void setBucket(String bucket)
Name of the S3 bucket.
bucket
- Name of the S3 bucket.public String getBucket()
Name of the S3 bucket.
public S3Location withBucket(String bucket)
Name of the S3 bucket.
bucket
- Name of the S3 bucket.public void setPrefix(String prefix)
Prefix for the location to write to.
prefix
- Prefix for the location to write to.public String getPrefix()
Prefix for the location to write to.
public S3Location withPrefix(String prefix)
Prefix for the location to write to.
prefix
- Prefix for the location to write to.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.