@Generated(value="software.amazon.awssdk:codegen") public final class GenerateServiceLastAccessedDetailsRequest extends IamRequest implements ToCopyableBuilder<GenerateServiceLastAccessedDetailsRequest.Builder,GenerateServiceLastAccessedDetailsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GenerateServiceLastAccessedDetailsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static GenerateServiceLastAccessedDetailsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
AccessAdvisorUsageGranularityType |
granularity()
The level of detail that you want to generate.
|
String |
granularityAsString()
The level of detail that you want to generate.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GenerateServiceLastAccessedDetailsRequest.Builder> |
serializableBuilderClass() |
GenerateServiceLastAccessedDetailsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, granularity will
return AccessAdvisorUsageGranularityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from granularityAsString().
AccessAdvisorUsageGranularityTypepublic final String granularityAsString()
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.
If the service returns an enum value that is not available in the current SDK version, granularity will
return AccessAdvisorUsageGranularityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from granularityAsString().
AccessAdvisorUsageGranularityTypepublic GenerateServiceLastAccessedDetailsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GenerateServiceLastAccessedDetailsRequest.Builder,GenerateServiceLastAccessedDetailsRequest>toBuilder in class IamRequestpublic static GenerateServiceLastAccessedDetailsRequest.Builder builder()
public static Class<? extends GenerateServiceLastAccessedDetailsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.