@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGeneratedPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetGeneratedPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetGeneratedPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getIncludeResourcePlaceholders()
The level of detail that you want to generate.
|
Boolean |
getIncludeServiceLevelTemplate()
The level of detail that you want to generate.
|
String |
getJobId()
The
JobId that is returned by the StartPolicyGeneration operation. |
int |
hashCode() |
Boolean |
isIncludeResourcePlaceholders()
The level of detail that you want to generate.
|
Boolean |
isIncludeServiceLevelTemplate()
The level of detail that you want to generate.
|
void |
setIncludeResourcePlaceholders(Boolean includeResourcePlaceholders)
The level of detail that you want to generate.
|
void |
setIncludeServiceLevelTemplate(Boolean includeServiceLevelTemplate)
The level of detail that you want to generate.
|
void |
setJobId(String jobId)
The
JobId that is returned by the StartPolicyGeneration operation. |
String |
toString()
Returns a string representation of this object.
|
GetGeneratedPolicyRequest |
withIncludeResourcePlaceholders(Boolean includeResourcePlaceholders)
The level of detail that you want to generate.
|
GetGeneratedPolicyRequest |
withIncludeServiceLevelTemplate(Boolean includeServiceLevelTemplate)
The level of detail that you want to generate.
|
GetGeneratedPolicyRequest |
withJobId(String jobId)
The
JobId that is returned by the StartPolicyGeneration operation. |
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 setJobId(String jobId)
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used
with CancelPolicyGeneration to cancel the policy generation request.
jobId - The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.public String getJobId()
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used
with CancelPolicyGeneration to cancel the policy generation request.
JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.public GetGeneratedPolicyRequest withJobId(String jobId)
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used
with CancelPolicyGeneration to cancel the policy generation request.
jobId - The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.public void setIncludeResourcePlaceholders(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 "*".
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 "*".
public Boolean getIncludeResourcePlaceholders()
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 "*".
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}" instead of "*".
public GetGeneratedPolicyRequest withIncludeResourcePlaceholders(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 "*".
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 "*".
public Boolean isIncludeResourcePlaceholders()
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 "*".
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}" instead of "*".
public void setIncludeServiceLevelTemplate(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:servicelastaccessed to identify services that have been used recently
to create this service-level template.
includeServiceLevelTemplate - The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used
recently to create this service-level template.
public Boolean getIncludeServiceLevelTemplate()
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently
to create this service-level template.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used
recently to create this service-level template.
public GetGeneratedPolicyRequest withIncludeServiceLevelTemplate(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:servicelastaccessed to identify services that have been used recently
to create this service-level template.
includeServiceLevelTemplate - The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used
recently to create this service-level template.
public Boolean isIncludeServiceLevelTemplate()
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently
to create this service-level template.
IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used
recently to create this service-level template.
public String toString()
toString in class ObjectObject.toString()public GetGeneratedPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()