Class StartResourceScanRequest
- 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.StartResourceScanRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartResourceScanRequest.Builder,StartResourceScanRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartResourceScanRequest extends AccessAnalyzerRequest implements ToCopyableBuilder<StartResourceScanRequest.Builder,StartResourceScanRequest>
Starts a scan of the policies applied to the specified resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartResourceScanRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanalyzerArn()The ARN of the analyzer to use to scan the policies applied to the specified resource.static StartResourceScanRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()The ARN of the resource to scan.StringresourceOwnerAccount()The Amazon Web Services account ID that owns the resource.List<SdkField<?>>sdkFields()static Class<? extends StartResourceScanRequest.Builder>serializableBuilderClass()StartResourceScanRequest.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
-
analyzerArn
public final String analyzerArn()
The ARN of the analyzer to use to scan the policies applied to the specified resource.
- Returns:
- The ARN of the analyzer to use to scan the policies applied to the specified resource.
-
resourceArn
public final String resourceArn()
The ARN of the resource to scan.
- Returns:
- The ARN of the resource to scan.
-
resourceOwnerAccount
public final String resourceOwnerAccount()
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
- Returns:
- The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
-
toBuilder
public StartResourceScanRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartResourceScanRequest.Builder,StartResourceScanRequest>- Specified by:
toBuilderin classAccessAnalyzerRequest
-
builder
public static StartResourceScanRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartResourceScanRequest.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
-
-