@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Computer extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a computer account in a directory.
Constructor and Description |
---|
Computer() |
Modifier and Type | Method and Description |
---|---|
Computer |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getComputerAttributes()
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
|
String |
getComputerId()
The identifier of the computer.
|
String |
getComputerName()
The computer name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
|
void |
setComputerId(String computerId)
The identifier of the computer.
|
void |
setComputerName(String computerName)
The computer name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Computer |
withComputerAttributes(Attribute... computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
|
Computer |
withComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
|
Computer |
withComputerId(String computerId)
The identifier of the computer.
|
Computer |
withComputerName(String computerName)
The computer name.
|
public void setComputerId(String computerId)
The identifier of the computer.
computerId
- The identifier of the computer.public String getComputerId()
The identifier of the computer.
public Computer withComputerId(String computerId)
The identifier of the computer.
computerId
- The identifier of the computer.public void setComputerName(String computerName)
The computer name.
computerName
- The computer name.public String getComputerName()
The computer name.
public Computer withComputerName(String computerName)
The computer name.
computerName
- The computer name.public List<Attribute> getComputerAttributes()
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
public void setComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
computerAttributes
- An array of Attribute objects containing the LDAP attributes that belong to the computer account.public Computer withComputerAttributes(Attribute... computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
NOTE: This method appends the values to the existing list (if any). Use
setComputerAttributes(java.util.Collection)
or withComputerAttributes(java.util.Collection)
if
you want to override the existing values.
computerAttributes
- An array of Attribute objects containing the LDAP attributes that belong to the computer account.public Computer withComputerAttributes(Collection<Attribute> computerAttributes)
An array of Attribute objects containing the LDAP attributes that belong to the computer account.
computerAttributes
- An array of Attribute objects containing the LDAP attributes that belong to the computer 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.