@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 artifact location for an action's artifacts.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 artifact bucket for an action's artifacts.
|
String |
getKey()
The artifact name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The Amazon S3 artifact bucket for an action's artifacts.
|
void |
setKey(String key)
The artifact name.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
The Amazon S3 artifact bucket for an action's artifacts.
|
S3Location |
withKey(String key)
The artifact name.
|
public void setBucket(String bucket)
The Amazon S3 artifact bucket for an action's artifacts.
bucket
- The Amazon S3 artifact bucket for an action's artifacts.public String getBucket()
The Amazon S3 artifact bucket for an action's artifacts.
public S3Location withBucket(String bucket)
The Amazon S3 artifact bucket for an action's artifacts.
bucket
- The Amazon S3 artifact bucket for an action's artifacts.public void setKey(String key)
The artifact name.
key
- The artifact name.public String getKey()
The artifact name.
public S3Location withKey(String key)
The artifact name.
key
- The artifact name.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.