@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT
. It applies the home region to the current ACCOUNT
.
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Target |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The
TargetID is a 12-character identifier of the ACCOUNT for which the control was
created. |
String |
getType()
The target type is always an
ACCOUNT . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The
TargetID is a 12-character identifier of the ACCOUNT for which the control was
created. |
void |
setType(String type)
The target type is always an
ACCOUNT . |
String |
toString()
Returns a string representation of this object.
|
Target |
withId(String id)
The
TargetID is a 12-character identifier of the ACCOUNT for which the control was
created. |
Target |
withType(String type)
The target type is always an
ACCOUNT . |
Target |
withType(TargetType type)
The target type is always an
ACCOUNT . |
public void setType(String type)
The target type is always an ACCOUNT
.
type
- The target type is always an ACCOUNT
.TargetType
public String getType()
The target type is always an ACCOUNT
.
ACCOUNT
.TargetType
public Target withType(String type)
The target type is always an ACCOUNT
.
type
- The target type is always an ACCOUNT
.TargetType
public Target withType(TargetType type)
The target type is always an ACCOUNT
.
type
- The target type is always an ACCOUNT
.TargetType
public void setId(String id)
The TargetID
is a 12-character identifier of the ACCOUNT
for which the control was
created. (This must be the current account.)
id
- The TargetID
is a 12-character identifier of the ACCOUNT
for which the control
was created. (This must be the current account.)public String getId()
The TargetID
is a 12-character identifier of the ACCOUNT
for which the control was
created. (This must be the current account.)
TargetID
is a 12-character identifier of the ACCOUNT
for which the control
was created. (This must be the current account.)public Target withId(String id)
The TargetID
is a 12-character identifier of the ACCOUNT
for which the control was
created. (This must be the current account.)
id
- The TargetID
is a 12-character identifier of the ACCOUNT
for which the control
was created. (This must be the current account.)public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.