@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerateServiceLastAccessedDetailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GenerateServiceLastAccessedDetailsRequest() |
Modifier and Type | Method and Description |
---|---|
GenerateServiceLastAccessedDetailsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the
resource was last used in an attempt to access an Amazon Web Services service.
|
String |
getGranularity()
The level of detail that you want to generate.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the
resource was last used in an attempt to access an Amazon Web Services service.
|
void |
setGranularity(String granularity)
The level of detail that you want to generate.
|
String |
toString()
Returns a string representation of this object.
|
GenerateServiceLastAccessedDetailsRequest |
withArn(String arn)
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the
resource was last used in an attempt to access an Amazon Web Services service.
|
GenerateServiceLastAccessedDetailsRequest |
withGranularity(AccessAdvisorUsageGranularityType granularity)
The level of detail that you want to generate.
|
GenerateServiceLastAccessedDetailsRequest |
withGranularity(String granularity)
The level of detail that you want to generate.
|
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 GenerateServiceLastAccessedDetailsRequest()
public void setArn(String arn)
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.
arn
- The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when
the resource was last used in an attempt to access an Amazon Web Services service.public String getArn()
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.
public GenerateServiceLastAccessedDetailsRequest withArn(String arn)
The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.
arn
- The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when
the resource was last used in an attempt to access an Amazon Web Services service.public void setGranularity(String granularity)
The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
granularity
- The level of detail that you want to generate. You can specify whether you want to generate information
about the last attempt to access services or actions. If you specify service-level granularity, this
operation generates only service data. If you specify action-level granularity, it generates service and
action data. If you don't include this optional parameter, the operation generates service data.AccessAdvisorUsageGranularityType
public String getGranularity()
The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
AccessAdvisorUsageGranularityType
public GenerateServiceLastAccessedDetailsRequest withGranularity(String granularity)
The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
granularity
- The level of detail that you want to generate. You can specify whether you want to generate information
about the last attempt to access services or actions. If you specify service-level granularity, this
operation generates only service data. If you specify action-level granularity, it generates service and
action data. If you don't include this optional parameter, the operation generates service data.AccessAdvisorUsageGranularityType
public GenerateServiceLastAccessedDetailsRequest withGranularity(AccessAdvisorUsageGranularityType granularity)
The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
granularity
- The level of detail that you want to generate. You can specify whether you want to generate information
about the last attempt to access services or actions. If you specify service-level granularity, this
operation generates only service data. If you specify action-level granularity, it generates service and
action data. If you don't include this optional parameter, the operation generates service data.AccessAdvisorUsageGranularityType
public String toString()
toString
in class Object
Object.toString()
public GenerateServiceLastAccessedDetailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()