@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartResourceScanRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Starts a scan of the policies applied to the specified resource.
NOOP
Constructor and Description |
---|
StartResourceScanRequest() |
Modifier and Type | Method and Description |
---|---|
StartResourceScanRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnalyzerArn()
The ARN
of the analyzer to use to scan the policies applied to the specified resource.
|
String |
getResourceArn()
The ARN of the resource to scan.
|
String |
getResourceOwnerAccount()
The Amazon Web Services account ID that owns the resource.
|
int |
hashCode() |
void |
setAnalyzerArn(String analyzerArn)
The ARN
of the analyzer to use to scan the policies applied to the specified resource.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource to scan.
|
void |
setResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
String |
toString()
Returns a string representation of this object.
|
StartResourceScanRequest |
withAnalyzerArn(String analyzerArn)
The ARN
of the analyzer to use to scan the policies applied to the specified resource.
|
StartResourceScanRequest |
withResourceArn(String resourceArn)
The ARN of the resource to scan.
|
StartResourceScanRequest |
withResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
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 void setAnalyzerArn(String analyzerArn)
The ARN of the analyzer to use to scan the policies applied to the specified resource.
analyzerArn
- The ARN of the analyzer to use to scan the policies applied to the specified resource.public String getAnalyzerArn()
The ARN of the analyzer to use to scan the policies applied to the specified resource.
public StartResourceScanRequest withAnalyzerArn(String analyzerArn)
The ARN of the analyzer to use to scan the policies applied to the specified resource.
analyzerArn
- The ARN of the analyzer to use to scan the policies applied to the specified resource.public void setResourceArn(String resourceArn)
The ARN of the resource to scan.
resourceArn
- The ARN of the resource to scan.public String getResourceArn()
The ARN of the resource to scan.
public StartResourceScanRequest withResourceArn(String resourceArn)
The ARN of the resource to scan.
resourceArn
- The ARN of the resource to scan.public void setResourceOwnerAccount(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.
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.public String getResourceOwnerAccount()
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.
public StartResourceScanRequest withResourceOwnerAccount(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.
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.public String toString()
toString
in class Object
Object.toString()
public StartResourceScanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()