@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeviceProfileResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateDeviceProfileResult() |
Modifier and Type | Method and Description |
---|---|
CreateDeviceProfileResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name of the new resource.
|
String |
getId()
The ID of the new device profile.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name of the new resource.
|
void |
setId(String id)
The ID of the new device profile.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeviceProfileResult |
withArn(String arn)
The Amazon Resource Name of the new resource.
|
CreateDeviceProfileResult |
withId(String id)
The ID of the new device profile.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name of the new resource.
arn
- The Amazon Resource Name of the new resource.public String getArn()
The Amazon Resource Name of the new resource.
public CreateDeviceProfileResult withArn(String arn)
The Amazon Resource Name of the new resource.
arn
- The Amazon Resource Name of the new resource.public void setId(String id)
The ID of the new device profile.
id
- The ID of the new device profile.public String getId()
The ID of the new device profile.
public CreateDeviceProfileResult withId(String id)
The ID of the new device profile.
id
- The ID of the new device profile.public String toString()
toString
in class Object
Object.toString()
public CreateDeviceProfileResult clone()