Interface GenerateServiceLastAccessedDetailsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GenerateServiceLastAccessedDetailsRequest.Builder,GenerateServiceLastAccessedDetailsRequest>,IamRequest.Builder,SdkBuilder<GenerateServiceLastAccessedDetailsRequest.Builder,GenerateServiceLastAccessedDetailsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GenerateServiceLastAccessedDetailsRequest
@Mutable @NotThreadSafe public static interface GenerateServiceLastAccessedDetailsRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<GenerateServiceLastAccessedDetailsRequest.Builder,GenerateServiceLastAccessedDetailsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerateServiceLastAccessedDetailsRequest.Builderarn(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.Buildergranularity(String granularity)The level of detail that you want to generate.GenerateServiceLastAccessedDetailsRequest.Buildergranularity(AccessAdvisorUsageGranularityType granularity)The level of detail that you want to generate.GenerateServiceLastAccessedDetailsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GenerateServiceLastAccessedDetailsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
GenerateServiceLastAccessedDetailsRequest.Builder arn(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granularity
GenerateServiceLastAccessedDetailsRequest.Builder granularity(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccessAdvisorUsageGranularityType,AccessAdvisorUsageGranularityType
-
granularity
GenerateServiceLastAccessedDetailsRequest.Builder granularity(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccessAdvisorUsageGranularityType,AccessAdvisorUsageGranularityType
-
overrideConfiguration
GenerateServiceLastAccessedDetailsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GenerateServiceLastAccessedDetailsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-