Class GetGeneratedPolicyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest
-
- software.amazon.awssdk.services.accessanalyzer.model.GetGeneratedPolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetGeneratedPolicyRequest.Builder,GetGeneratedPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetGeneratedPolicyRequest extends AccessAnalyzerRequest implements ToCopyableBuilder<GetGeneratedPolicyRequest.Builder,GetGeneratedPolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetGeneratedPolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetGeneratedPolicyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeResourcePlaceholders()The level of detail that you want to generate.BooleanincludeServiceLevelTemplate()The level of detail that you want to generate.StringjobId()TheJobIdthat is returned by theStartPolicyGenerationoperation.List<SdkField<?>>sdkFields()static Class<? extends GetGeneratedPolicyRequest.Builder>serializableBuilderClass()GetGeneratedPolicyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobId
public final String jobId()
The
JobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.- Returns:
- The
JobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.
-
includeResourcePlaceholders
public final Boolean includeResourcePlaceholders()
The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"instead of"*".- Returns:
- The level of detail that you want to generate. You can specify whether to generate policies with
placeholders for resource ARNs for actions that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"instead of"*".
-
includeServiceLevelTemplate
public final Boolean includeServiceLevelTemplate()
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses
iam:servicelastaccessedto identify services that have been used recently to create this service-level template.- Returns:
- The level of detail that you want to generate. You can specify whether to generate service-level
policies.
IAM Access Analyzer uses
iam:servicelastaccessedto identify services that have been used recently to create this service-level template.
-
toBuilder
public GetGeneratedPolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetGeneratedPolicyRequest.Builder,GetGeneratedPolicyRequest>- Specified by:
toBuilderin classAccessAnalyzerRequest
-
builder
public static GetGeneratedPolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetGeneratedPolicyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-