public static interface PolicyItem.Builder extends SdkPojo, CopyableBuilder<PolicyItem.Builder,PolicyItem>
| Modifier and Type | Method and Description |
|---|---|
PolicyItem.Builder |
createdDate(Instant createdDate)
The date and time the policy was created.
|
default PolicyItem.Builder |
definition(Consumer<PolicyDefinitionItem.Builder> definition)
The policy definition of an item in the list of policies returned.
|
PolicyItem.Builder |
definition(PolicyDefinitionItem definition)
The policy definition of an item in the list of policies returned.
|
PolicyItem.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date and time the policy was most recently updated.
|
PolicyItem.Builder |
policyId(String policyId)
The identifier of the policy you want information about.
|
PolicyItem.Builder |
policyStoreId(String policyStoreId)
The identifier of the PolicyStore where the policy you want information about is stored.
|
PolicyItem.Builder |
policyType(PolicyType policyType)
The type of the policy.
|
PolicyItem.Builder |
policyType(String policyType)
The type of the policy.
|
default PolicyItem.Builder |
principal(Consumer<EntityIdentifier.Builder> principal)
The principal associated with the policy.
|
PolicyItem.Builder |
principal(EntityIdentifier principal)
The principal associated with the policy.
|
default PolicyItem.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
The resource associated with the policy.
|
PolicyItem.Builder |
resource(EntityIdentifier resource)
The resource associated with the policy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicyItem.Builder policyStoreId(String policyStoreId)
The identifier of the PolicyStore where the policy you want information about is stored.
policyStoreId - The identifier of the PolicyStore where the policy you want information about is stored.PolicyItem.Builder policyId(String policyId)
The identifier of the policy you want information about.
policyId - The identifier of the policy you want information about.PolicyItem.Builder policyType(String policyType)
The type of the policy. This is one of the following values:
static
templateLinked
policyType - The type of the policy. This is one of the following values:
static
templateLinked
PolicyType,
PolicyTypePolicyItem.Builder policyType(PolicyType policyType)
The type of the policy. This is one of the following values:
static
templateLinked
policyType - The type of the policy. This is one of the following values:
static
templateLinked
PolicyType,
PolicyTypePolicyItem.Builder principal(EntityIdentifier principal)
The principal associated with the policy.
principal - The principal associated with the policy.default PolicyItem.Builder principal(Consumer<EntityIdentifier.Builder> principal)
The principal associated with the policy.
This is a convenience method that creates an instance of theEntityIdentifier.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)PolicyItem.Builder resource(EntityIdentifier resource)
The resource associated with the policy.
resource - The resource associated with the policy.default PolicyItem.Builder resource(Consumer<EntityIdentifier.Builder> resource)
The resource associated with the policy.
This is a convenience method that creates an instance of theEntityIdentifier.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)PolicyItem.Builder definition(PolicyDefinitionItem definition)
The policy definition of an item in the list of policies returned.
definition - The policy definition of an item in the list of policies returned.default PolicyItem.Builder definition(Consumer<PolicyDefinitionItem.Builder> definition)
The policy definition of an item in the list of policies returned.
This is a convenience method that creates an instance of thePolicyDefinitionItem.Builder avoiding
the need to create one manually via PolicyDefinitionItem.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to definition(PolicyDefinitionItem).
definition - a consumer that will call methods on PolicyDefinitionItem.Builderdefinition(PolicyDefinitionItem)PolicyItem.Builder createdDate(Instant createdDate)
The date and time the policy was created.
createdDate - The date and time the policy was created.PolicyItem.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date and time the policy was most recently updated.
lastUpdatedDate - The date and time the policy was most recently updated.Copyright © 2023. All rights reserved.