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