@Generated(value="software.amazon.awssdk:codegen") public final class PutPolicyRequest extends AcmPcaRequest implements ToCopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource.
|
String |
resourceArn()
The Amazon Resource Number (ARN) of the private CA to associate with the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutPolicyRequest.Builder> |
serializableBuilderClass() |
PutPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.
public final String policy()
The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource. If this
policy does not contain all required statements or if it includes any statement that is not allowed, the
PutPolicy action returns an InvalidPolicyException. For information about IAM policy
and statement structure, see Overview of
JSON Policies.
PutPolicy action returns an InvalidPolicyException. For information about
IAM policy and statement structure, see Overview of JSON Policies.public PutPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>toBuilder in class AcmPcaRequestpublic static PutPolicyRequest.Builder builder()
public static Class<? extends PutPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.