public static interface DeleteRepositoryPermissionsPolicyResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<DeleteRepositoryPermissionsPolicyResponse.Builder,DeleteRepositoryPermissionsPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default DeleteRepositoryPermissionsPolicyResponse.Builder |
policy(Consumer<ResourcePolicy.Builder> policy)
Information about the deleted policy after processing the request.
|
DeleteRepositoryPermissionsPolicyResponse.Builder |
policy(ResourcePolicy policy)
Information about the deleted policy after processing the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteRepositoryPermissionsPolicyResponse.Builder policy(ResourcePolicy policy)
Information about the deleted policy after processing the request.
policy - Information about the deleted policy after processing the request.default DeleteRepositoryPermissionsPolicyResponse.Builder policy(Consumer<ResourcePolicy.Builder> policy)
Information about the deleted policy after processing the request.
This is a convenience method that creates an instance of theResourcePolicy.Builder avoiding the need
to create one manually via ResourcePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policy(ResourcePolicy).
policy - a consumer that will call methods on ResourcePolicy.Builderpolicy(ResourcePolicy)Copyright © 2023. All rights reserved.