public static interface CreatePolicyResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
CreatePolicyResponse.Builder |
createdDate(Instant createdDate)
The date and time the policy was originally created.
|
CreatePolicyResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date and time the policy was last updated.
|
CreatePolicyResponse.Builder |
policyId(String policyId)
The unique ID of the new policy.
|
CreatePolicyResponse.Builder |
policyStoreId(String policyStoreId)
The ID of the policy store that contains the new policy.
|
CreatePolicyResponse.Builder |
policyType(PolicyType policyType)
The policy type of the new policy.
|
CreatePolicyResponse.Builder |
policyType(String policyType)
The policy type of the new policy.
|
default CreatePolicyResponse.Builder |
principal(Consumer<EntityIdentifier.Builder> principal)
The principal specified in the new policy's scope.
|
CreatePolicyResponse.Builder |
principal(EntityIdentifier principal)
The principal specified in the new policy's scope.
|
default CreatePolicyResponse.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
The resource specified in the new policy's scope.
|
CreatePolicyResponse.Builder |
resource(EntityIdentifier resource)
The resource specified in the new policy's scope.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePolicyResponse.Builder policyStoreId(String policyStoreId)
The ID of the policy store that contains the new policy.
policyStoreId - The ID of the policy store that contains the new policy.CreatePolicyResponse.Builder policyId(String policyId)
The unique ID of the new policy.
policyId - The unique ID of the new policy.CreatePolicyResponse.Builder policyType(String policyType)
The policy type of the new policy.
policyType - The policy type of the new policy.PolicyType,
PolicyTypeCreatePolicyResponse.Builder policyType(PolicyType policyType)
The policy type of the new policy.
policyType - The policy type of the new policy.PolicyType,
PolicyTypeCreatePolicyResponse.Builder principal(EntityIdentifier principal)
The principal specified in the new policy's scope. This response element isn't present when
principal isn't specified in the policy content.
principal - The principal specified in the new policy's scope. This response element isn't present when
principal isn't specified in the policy content.default CreatePolicyResponse.Builder principal(Consumer<EntityIdentifier.Builder> principal)
The principal specified in the new policy's scope. This response element isn't present when
principal isn't specified in the policy content.
EntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to principal(EntityIdentifier).
principal - a consumer that will call methods on EntityIdentifier.Builderprincipal(EntityIdentifier)CreatePolicyResponse.Builder resource(EntityIdentifier resource)
The resource specified in the new policy's scope. This response element isn't present when the
resource isn't specified in the policy content.
resource - The resource specified in the new policy's scope. This response element isn't present when the
resource isn't specified in the policy content.default CreatePolicyResponse.Builder resource(Consumer<EntityIdentifier.Builder> resource)
The resource specified in the new policy's scope. This response element isn't present when the
resource isn't specified in the policy content.
EntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resource(EntityIdentifier).
resource - a consumer that will call methods on EntityIdentifier.Builderresource(EntityIdentifier)CreatePolicyResponse.Builder createdDate(Instant createdDate)
The date and time the policy was originally created.
createdDate - The date and time the policy was originally created.CreatePolicyResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date and time the policy was last updated.
lastUpdatedDate - The date and time the policy was last updated.Copyright © 2023. All rights reserved.