public static interface GetPolicyResponse.Builder extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetPolicyResponse.Builder |
createdDate(Instant createdDate)
The date and time that the policy was originally created.
|
default GetPolicyResponse.Builder |
definition(Consumer<PolicyDefinitionDetail.Builder> definition)
The definition of the requested policy.
|
GetPolicyResponse.Builder |
definition(PolicyDefinitionDetail definition)
The definition of the requested policy.
|
GetPolicyResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date and time that the policy was last updated.
|
GetPolicyResponse.Builder |
policyId(String policyId)
The unique ID of the policy that you want information about.
|
GetPolicyResponse.Builder |
policyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that you want information about.
|
GetPolicyResponse.Builder |
policyType(PolicyType policyType)
The type of the policy.
|
GetPolicyResponse.Builder |
policyType(String policyType)
The type of the policy.
|
default GetPolicyResponse.Builder |
principal(Consumer<EntityIdentifier.Builder> principal)
The principal specified in the policy's scope.
|
GetPolicyResponse.Builder |
principal(EntityIdentifier principal)
The principal specified in the policy's scope.
|
default GetPolicyResponse.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
The resource specified in the policy's scope.
|
GetPolicyResponse.Builder |
resource(EntityIdentifier resource)
The resource specified in the policy's scope.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetPolicyResponse.Builder policyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that you want information about.
policyStoreId - The ID of the policy store that contains the policy that you want information about.GetPolicyResponse.Builder policyId(String policyId)
The unique ID of the policy that you want information about.
policyId - The unique ID of the policy that you want information about.GetPolicyResponse.Builder policyType(String policyType)
The type of the policy.
policyType - The type of the policy.PolicyType,
PolicyTypeGetPolicyResponse.Builder policyType(PolicyType policyType)
The type of the policy.
policyType - The type of the policy.PolicyType,
PolicyTypeGetPolicyResponse.Builder principal(EntityIdentifier principal)
The principal specified in the policy's scope. This element isn't included in the response when
Principal isn't present in the policy content.
principal - The principal specified in the policy's scope. This element isn't included in the response when
Principal isn't present in the policy content.default GetPolicyResponse.Builder principal(Consumer<EntityIdentifier.Builder> principal)
The principal specified in the policy's scope. This element isn't included in the response when
Principal isn't present 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)GetPolicyResponse.Builder resource(EntityIdentifier resource)
The resource specified in the policy's scope. This element isn't included in the response when
Resource isn't present in the policy content.
resource - The resource specified in the policy's scope. This element isn't included in the response when
Resource isn't present in the policy content.default GetPolicyResponse.Builder resource(Consumer<EntityIdentifier.Builder> resource)
The resource specified in the policy's scope. This element isn't included in the response when
Resource isn't present 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)GetPolicyResponse.Builder definition(PolicyDefinitionDetail definition)
The definition of the requested policy.
definition - The definition of the requested policy.default GetPolicyResponse.Builder definition(Consumer<PolicyDefinitionDetail.Builder> definition)
The definition of the requested policy.
This is a convenience method that creates an instance of thePolicyDefinitionDetail.Builder avoiding
the need to create one manually via PolicyDefinitionDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to definition(PolicyDefinitionDetail).
definition - a consumer that will call methods on PolicyDefinitionDetail.Builderdefinition(PolicyDefinitionDetail)GetPolicyResponse.Builder createdDate(Instant createdDate)
The date and time that the policy was originally created.
createdDate - The date and time that the policy was originally created.GetPolicyResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date and time that the policy was last updated.
lastUpdatedDate - The date and time that the policy was last updated.Copyright © 2023. All rights reserved.