@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateS3BucketResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about the protected S3 bucket resource.
Constructor and Description |
---|
CreateS3BucketResource() |
Modifier and Type | Method and Description |
---|---|
CreateS3BucketResource |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
Name of the S3 bucket.
|
List<String> |
getObjectPrefixes()
Information about the specified object prefixes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
Name of the S3 bucket.
|
void |
setObjectPrefixes(Collection<String> objectPrefixes)
Information about the specified object prefixes.
|
String |
toString()
Returns a string representation of this object.
|
CreateS3BucketResource |
withBucketName(String bucketName)
Name of the S3 bucket.
|
CreateS3BucketResource |
withObjectPrefixes(Collection<String> objectPrefixes)
Information about the specified object prefixes.
|
CreateS3BucketResource |
withObjectPrefixes(String... objectPrefixes)
Information about the specified object prefixes.
|
public void setBucketName(String bucketName)
Name of the S3 bucket.
bucketName
- Name of the S3 bucket.public String getBucketName()
Name of the S3 bucket.
public CreateS3BucketResource withBucketName(String bucketName)
Name of the S3 bucket.
bucketName
- Name of the S3 bucket.public List<String> getObjectPrefixes()
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
public void setObjectPrefixes(Collection<String> objectPrefixes)
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
objectPrefixes
- Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any
of the specified object prefixes.public CreateS3BucketResource withObjectPrefixes(String... objectPrefixes)
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
NOTE: This method appends the values to the existing list (if any). Use
setObjectPrefixes(java.util.Collection)
or withObjectPrefixes(java.util.Collection)
if you want
to override the existing values.
objectPrefixes
- Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any
of the specified object prefixes.public CreateS3BucketResource withObjectPrefixes(Collection<String> objectPrefixes)
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
objectPrefixes
- Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any
of the specified object prefixes.public String toString()
toString
in class Object
Object.toString()
public CreateS3BucketResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.