@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServiceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetServiceResult() |
Modifier and Type | Method and Description |
---|---|
GetServiceResult |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the data included in the response.
|
Service |
getService()
A structure containing information about the service.
|
Date |
getStartTime()
The start time of the data included in the response.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end time of the data included in the response.
|
void |
setService(Service service)
A structure containing information about the service.
|
void |
setStartTime(Date startTime)
The start time of the data included in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetServiceResult |
withEndTime(Date endTime)
The end time of the data included in the response.
|
GetServiceResult |
withService(Service service)
A structure containing information about the service.
|
GetServiceResult |
withStartTime(Date startTime)
The start time of the data included in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setService(Service service)
A structure containing information about the service.
service
- A structure containing information about the service.public Service getService()
A structure containing information about the service.
public GetServiceResult withService(Service service)
A structure containing information about the service.
service
- A structure containing information about the service.public void setStartTime(Date startTime)
The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
startTime
- The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch
time in seconds. For example: 1698778057
.public Date getStartTime()
The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
1698778057
.public GetServiceResult withStartTime(Date startTime)
The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
startTime
- The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch
time in seconds. For example: 1698778057
.public void setEndTime(Date endTime)
The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
endTime
- The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch
time in seconds. For example: 1698778057
.public Date getEndTime()
The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
1698778057
.public GetServiceResult withEndTime(Date endTime)
The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in
seconds. For example: 1698778057
.
endTime
- The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch
time in seconds. For example: 1698778057
.public String toString()
toString
in class Object
Object.toString()
public GetServiceResult clone()