@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request for GetProfile operation.
NOOP
Constructor and Description |
---|
GetProfileRequest() |
Modifier and Type | Method and Description |
---|---|
GetProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccept()
The format of the profile to return.
|
Date |
getEndTime()
The end time of the profile to get.
|
Integer |
getMaxDepth() |
String |
getPeriod()
The period of the profile to get.
|
String |
getProfilingGroupName() |
Date |
getStartTime()
The start time of the profile to get.
|
int |
hashCode() |
void |
setAccept(String accept)
The format of the profile to return.
|
void |
setEndTime(Date endTime)
The end time of the profile to get.
|
void |
setMaxDepth(Integer maxDepth) |
void |
setPeriod(String period)
The period of the profile to get.
|
void |
setProfilingGroupName(String profilingGroupName) |
void |
setStartTime(Date startTime)
The start time of the profile to get.
|
String |
toString()
Returns a string representation of this object.
|
GetProfileRequest |
withAccept(String accept)
The format of the profile to return.
|
GetProfileRequest |
withEndTime(Date endTime)
The end time of the profile to get.
|
GetProfileRequest |
withMaxDepth(Integer maxDepth) |
GetProfileRequest |
withPeriod(String period)
The period of the profile to get.
|
GetProfileRequest |
withProfilingGroupName(String profilingGroupName) |
GetProfileRequest |
withStartTime(Date startTime)
The start time of the profile to get.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccept(String accept)
The format of the profile to return. Supports application/json or application/x-amzn-ion. Defaults to application/x-amzn-ion.
accept
- The format of the profile to return. Supports application/json or application/x-amzn-ion. Defaults to
application/x-amzn-ion.public String getAccept()
The format of the profile to return. Supports application/json or application/x-amzn-ion. Defaults to application/x-amzn-ion.
public GetProfileRequest withAccept(String accept)
The format of the profile to return. Supports application/json or application/x-amzn-ion. Defaults to application/x-amzn-ion.
accept
- The format of the profile to return. Supports application/json or application/x-amzn-ion. Defaults to
application/x-amzn-ion.public void setEndTime(Date endTime)
The end time of the profile to get. Either period or endTime must be specified. Must be greater than start and the overall time range to be in the past and not larger than a week.
endTime
- The end time of the profile to get. Either period or endTime must be specified. Must be greater than start
and the overall time range to be in the past and not larger than a week.public Date getEndTime()
The end time of the profile to get. Either period or endTime must be specified. Must be greater than start and the overall time range to be in the past and not larger than a week.
public GetProfileRequest withEndTime(Date endTime)
The end time of the profile to get. Either period or endTime must be specified. Must be greater than start and the overall time range to be in the past and not larger than a week.
endTime
- The end time of the profile to get. Either period or endTime must be specified. Must be greater than start
and the overall time range to be in the past and not larger than a week.public void setMaxDepth(Integer maxDepth)
maxDepth
- public Integer getMaxDepth()
public GetProfileRequest withMaxDepth(Integer maxDepth)
maxDepth
- public void setPeriod(String period)
The period of the profile to get. Exactly two of startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and not
larger than a week.
period
- The period of the profile to get. Exactly two of startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and
not larger than a week.public String getPeriod()
The period of the profile to get. Exactly two of startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and not
larger than a week.
startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and
not larger than a week.public GetProfileRequest withPeriod(String period)
The period of the profile to get. Exactly two of startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and not
larger than a week.
period
- The period of the profile to get. Exactly two of startTime
, period
and
endTime
must be specified. Must be positive and the overall time range to be in the past and
not larger than a week.public void setProfilingGroupName(String profilingGroupName)
profilingGroupName
- public String getProfilingGroupName()
public GetProfileRequest withProfilingGroupName(String profilingGroupName)
profilingGroupName
- public void setStartTime(Date startTime)
The start time of the profile to get.
startTime
- The start time of the profile to get.public Date getStartTime()
The start time of the profile to get.
public GetProfileRequest withStartTime(Date startTime)
The start time of the profile to get.
startTime
- The start time of the profile to get.public String toString()
toString
in class Object
Object.toString()
public GetProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.