@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Resource extends Object implements Serializable, Cloneable, StructuredPojo
(Discontinued) Contains information about the S3 resource. This data type is used as a request parameter in the
DisassociateS3Resources
action and can be used as a response parameter in the
AssociateS3Resources
and UpdateS3Resources
actions.
Constructor and Description |
---|
S3Resource() |
Modifier and Type | Method and Description |
---|---|
S3Resource |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
(Discontinued) The name of the S3 bucket.
|
String |
getPrefix()
(Discontinued) The prefix of the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
(Discontinued) The name of the S3 bucket.
|
void |
setPrefix(String prefix)
(Discontinued) The prefix of the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Resource |
withBucketName(String bucketName)
(Discontinued) The name of the S3 bucket.
|
S3Resource |
withPrefix(String prefix)
(Discontinued) The prefix of the S3 bucket.
|
public void setBucketName(String bucketName)
(Discontinued) The name of the S3 bucket.
bucketName
- (Discontinued) The name of the S3 bucket.public String getBucketName()
(Discontinued) The name of the S3 bucket.
public S3Resource withBucketName(String bucketName)
(Discontinued) The name of the S3 bucket.
bucketName
- (Discontinued) The name of the S3 bucket.public void setPrefix(String prefix)
(Discontinued) The prefix of the S3 bucket.
prefix
- (Discontinued) The prefix of the S3 bucket.public String getPrefix()
(Discontinued) The prefix of the S3 bucket.
public S3Resource withPrefix(String prefix)
(Discontinued) The prefix of the S3 bucket.
prefix
- (Discontinued) The prefix of the S3 bucket.public String toString()
toString
in class Object
Object.toString()
public S3Resource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.