@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessPreviewRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAccessPreviewRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAccessPreviewRequest |
addConfigurationsEntry(String key,
Configuration value)
Add a single Configurations entry
|
CreateAccessPreviewRequest |
clearConfigurationsEntries()
Removes all the entries added into Configurations.
|
CreateAccessPreviewRequest |
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 account analyzer used to generate the access preview.
|
String |
getClientToken()
A client token.
|
Map<String,Configuration> |
getConfigurations()
Access control configuration for your resource that is used to generate the access preview.
|
int |
hashCode() |
void |
setAnalyzerArn(String analyzerArn)
The ARN
of the account analyzer used to generate the access preview.
|
void |
setClientToken(String clientToken)
A client token.
|
void |
setConfigurations(Map<String,Configuration> configurations)
Access control configuration for your resource that is used to generate the access preview.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessPreviewRequest |
withAnalyzerArn(String analyzerArn)
The ARN
of the account analyzer used to generate the access preview.
|
CreateAccessPreviewRequest |
withClientToken(String clientToken)
A client token.
|
CreateAccessPreviewRequest |
withConfigurations(Map<String,Configuration> configurations)
Access control configuration for your resource that is used to generate the access preview.
|
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, withSdkRequestTimeoutpublic void setAnalyzerArn(String analyzerArn)
The ARN
of the account analyzer used to generate the access preview. You can only create an access preview for
analyzers with an Account type and Active status.
analyzerArn - The ARN of the account analyzer used to generate the access preview. You can only create an access
preview for analyzers with an Account type and Active status.public String getAnalyzerArn()
The ARN
of the account analyzer used to generate the access preview. You can only create an access preview for
analyzers with an Account type and Active status.
Account type and Active status.public CreateAccessPreviewRequest withAnalyzerArn(String analyzerArn)
The ARN
of the account analyzer used to generate the access preview. You can only create an access preview for
analyzers with an Account type and Active status.
analyzerArn - The ARN of the account analyzer used to generate the access preview. You can only create an access
preview for analyzers with an Account type and Active status.public Map<String,Configuration> getConfigurations()
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
public void setConfigurations(Map<String,Configuration> configurations)
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
configurations - Access control configuration for your resource that is used to generate the access preview. The access
preview includes findings for external access allowed to the resource with the proposed access control
configuration. The configuration must contain exactly one element.public CreateAccessPreviewRequest withConfigurations(Map<String,Configuration> configurations)
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
configurations - Access control configuration for your resource that is used to generate the access preview. The access
preview includes findings for external access allowed to the resource with the proposed access control
configuration. The configuration must contain exactly one element.public CreateAccessPreviewRequest addConfigurationsEntry(String key, Configuration value)
public CreateAccessPreviewRequest clearConfigurationsEntries()
public void setClientToken(String clientToken)
A client token.
clientToken - A client token.public String getClientToken()
A client token.
public CreateAccessPreviewRequest withClientToken(String clientToken)
A client token.
clientToken - A client token.public String toString()
toString in class ObjectObject.toString()public CreateAccessPreviewRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()