Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class S3Location

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.S3Location
All Implemented Interfaces:
Serializable

public class S3Location
extends Object
implements Serializable

A specification of a location in Amazon S3.

See Also:
Serialized Form

Constructor Summary
S3Location()
          Default constructor for a new S3Location object.
S3Location(String s3Bucket, String s3Key)
          Constructs a new S3Location object.
 
Method Summary
 boolean equals(Object obj)
           
 String getS3Bucket()
          The Amazon S3 bucket where the data is located.
 String getS3Key()
          The Amazon S3 key where the data is located.
 int hashCode()
           
 void setS3Bucket(String s3Bucket)
          The Amazon S3 bucket where the data is located.
 void setS3Key(String s3Key)
          The Amazon S3 key where the data is located.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 S3Location withS3Bucket(String s3Bucket)
          The Amazon S3 bucket where the data is located.
 S3Location withS3Key(String s3Key)
          The Amazon S3 key where the data is located.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

S3Location

public S3Location()
Default constructor for a new S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


S3Location

public S3Location(String s3Bucket,
                  String s3Key)
Constructs a new S3Location object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
s3Bucket - The Amazon S3 bucket where the data is located.
s3Key - The Amazon S3 key where the data is located.
Method Detail

getS3Bucket

public String getS3Bucket()
The Amazon S3 bucket where the data is located.

Constraints:
Length: 0 - 255

Returns:
The Amazon S3 bucket where the data is located.

setS3Bucket

public void setS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.

Constraints:
Length: 0 - 255

Parameters:
s3Bucket - The Amazon S3 bucket where the data is located.

withS3Bucket

public S3Location withS3Bucket(String s3Bucket)
The Amazon S3 bucket where the data is located.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 255

Parameters:
s3Bucket - The Amazon S3 bucket where the data is located.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3Key

public String getS3Key()
The Amazon S3 key where the data is located.

Constraints:
Length: 0 - 1024

Returns:
The Amazon S3 key where the data is located.

setS3Key

public void setS3Key(String s3Key)
The Amazon S3 key where the data is located.

Constraints:
Length: 0 - 1024

Parameters:
s3Key - The Amazon S3 key where the data is located.

withS3Key

public S3Location withS3Key(String s3Key)
The Amazon S3 key where the data is located.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
s3Key - The Amazon S3 key where the data is located.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.