Interface UpdatePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdatePolicyResponse.Builder,
,UpdatePolicyResponse> SdkBuilder<UpdatePolicyResponse.Builder,
,UpdatePolicyResponse> SdkPojo
,SdkResponse.Builder
,VerifiedPermissionsResponse.Builder
- Enclosing class:
UpdatePolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<ActionIdentifier> actions) The action that a policy permits or forbids.actions
(Consumer<ActionIdentifier.Builder>... actions) The action that a policy permits or forbids.actions
(ActionIdentifier... actions) The action that a policy permits or forbids.createdDate
(Instant createdDate) The date and time that the policy was originally created.The effect of the decision that a policy returns to an authorization request.effect
(PolicyEffect effect) The effect of the decision that a policy returns to an authorization request.lastUpdatedDate
(Instant lastUpdatedDate) The date and time that the policy was most recently updated.The ID of the policy that was updated.policyStoreId
(String policyStoreId) The ID of the policy store that contains the policy that was updated.policyType
(String policyType) The type of the policy that was updated.policyType
(PolicyType policyType) The type of the policy that was updated.default UpdatePolicyResponse.Builder
principal
(Consumer<EntityIdentifier.Builder> principal) The principal specified in the policy's scope.principal
(EntityIdentifier principal) The principal specified in the policy's scope.default UpdatePolicyResponse.Builder
resource
(Consumer<EntityIdentifier.Builder> resource) The resource specified in the policy's scope.resource
(EntityIdentifier resource) The resource specified in the policy's scope.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
policyStoreId
The ID of the policy store that contains the policy that was updated.
- Parameters:
policyStoreId
- The ID of the policy store that contains the policy that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyId
The ID of the policy that was updated.
- Parameters:
policyId
- The ID of the policy that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The type of the policy that was updated.
- Parameters:
policyType
- The type of the policy that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of the policy that was updated.
- Parameters:
policyType
- The type of the policy that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
principal
- The principal specified in the policy's scope. This element isn't included in the response whenPrincipal
isn't present in the policy content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal specified in the policy's scope. This element isn't included in the response when
This is a convenience method that creates an instance of thePrincipal
isn't present in the policy content.EntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(EntityIdentifier)
.- Parameters:
principal
- a consumer that will call methods onEntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
resource
- The resource specified in the policy's scope. This element isn't included in the response whenResource
isn't present in the policy content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource specified in the policy's scope. This element isn't included in the response when
This is a convenience method that creates an instance of theResource
isn't present in the policy content.EntityIdentifier.Builder
avoiding the need to create one manually viaEntityIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(EntityIdentifier)
.- Parameters:
resource
- a consumer that will call methods onEntityIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The action that a policy permits or forbids. For example,
{"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}
.- Parameters:
actions
- The action that a policy permits or forbids. For example,{"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The action that a policy permits or forbids. For example,
{"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}
.- Parameters:
actions
- The action that a policy permits or forbids. For example,{"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The action that a policy permits or forbids. For example,
This is a convenience method that creates an instance of the{"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}
.ActionIdentifier.Builder
avoiding the need to create one manually viaActionIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<ActionIdentifier>)
.- Parameters:
actions
- a consumer that will call methods onActionIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdDate
The date and time that the policy was originally created.
- Parameters:
createdDate
- The date and time that the policy was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
The date and time that the policy was most recently updated.
- Parameters:
lastUpdatedDate
- The date and time that the policy was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the decision that a policy returns to an authorization request. For example,
"effect": "Permit"
.- Parameters:
effect
- The effect of the decision that a policy returns to an authorization request. For example,"effect": "Permit"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the decision that a policy returns to an authorization request. For example,
"effect": "Permit"
.- Parameters:
effect
- The effect of the decision that a policy returns to an authorization request. For example,"effect": "Permit"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-