@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The structure representing the getProfileRequest.
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()
|
Integer |
getMaxDepth()
The maximum depth of the graph.
|
String |
getPeriod()
The period of the profile to get.
|
String |
getProfilingGroupName()
The name of the profiling group to get.
|
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)
|
void |
setMaxDepth(Integer maxDepth)
The maximum depth of the graph.
|
void |
setPeriod(String period)
The period of the profile to get.
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group to get.
|
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)
|
GetProfileRequest |
withMaxDepth(Integer maxDepth)
The maximum depth of the graph.
|
GetProfileRequest |
withPeriod(String period)
The period of the profile to get.
|
GetProfileRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group to get.
|
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. You can choose application/json
or the default
application/x-amzn-ion
.
accept
- The format of the profile to return. You can choose application/json
or the default
application/x-amzn-ion
.public String getAccept()
The format of the profile to return. You can choose application/json
or the default
application/x-amzn-ion
.
application/json
or the default
application/x-amzn-ion
.public GetProfileRequest withAccept(String accept)
The format of the profile to return. You can choose application/json
or the default
application/x-amzn-ion
.
accept
- The format of the profile to return. You can choose application/json
or the default
application/x-amzn-ion
.public void setEndTime(Date endTime)
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
endTime
-
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
public Date getEndTime()
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
You must specify exactly two of the following parameters: startTime
, period
,
and endTime
.
public GetProfileRequest withEndTime(Date endTime)
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
endTime
-
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
public void setMaxDepth(Integer maxDepth)
The maximum depth of the graph.
maxDepth
- The maximum depth of the graph.public Integer getMaxDepth()
The maximum depth of the graph.
public GetProfileRequest withMaxDepth(Integer maxDepth)
The maximum depth of the graph.
maxDepth
- The maximum depth of the graph.public void setPeriod(String period)
The period of the profile to get. The time range must be in the past and not longer than one week.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
period
- The period of the profile to get. The time range must be in the past and not longer than one week.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
public String getPeriod()
The period of the profile to get. The time range must be in the past and not longer than one week.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
You must specify exactly two of the following parameters: startTime
, period
,
and endTime
.
public GetProfileRequest withPeriod(String period)
The period of the profile to get. The time range must be in the past and not longer than one week.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
period
- The period of the profile to get. The time range must be in the past and not longer than one week.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group to get.
profilingGroupName
- The name of the profiling group to get.public String getProfilingGroupName()
The name of the profiling group to get.
public GetProfileRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group to get.
profilingGroupName
- The name of the profiling group to get.public void setStartTime(Date startTime)
The start time of the profile to get.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
startTime
- The start time of the profile to get.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
public Date getStartTime()
The start time of the profile to get.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
You must specify exactly two of the following parameters: startTime
, period
,
and endTime
.
public GetProfileRequest withStartTime(Date startTime)
The start time of the profile to get.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
startTime
- The start time of the profile to get.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
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.