@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CrossRegionCopyTarget extends Object implements Serializable, Cloneable, StructuredPojo
[Default policies only] Specifies a destination Region for cross-Region copy actions.
Constructor and Description |
---|
CrossRegionCopyTarget() |
Modifier and Type | Method and Description |
---|---|
CrossRegionCopyTarget |
clone() |
boolean |
equals(Object obj) |
String |
getTargetRegion()
The target Region, for example
us-east-1 . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTargetRegion(String targetRegion)
The target Region, for example
us-east-1 . |
String |
toString()
Returns a string representation of this object.
|
CrossRegionCopyTarget |
withTargetRegion(String targetRegion)
The target Region, for example
us-east-1 . |
public void setTargetRegion(String targetRegion)
The target Region, for example us-east-1
.
targetRegion
- The target Region, for example us-east-1
.public String getTargetRegion()
The target Region, for example us-east-1
.
us-east-1
.public CrossRegionCopyTarget withTargetRegion(String targetRegion)
The target Region, for example us-east-1
.
targetRegion
- The target Region, for example us-east-1
.public String toString()
toString
in class Object
Object.toString()
public CrossRegionCopyTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.