Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePolicyResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON-formatted resource policy associated with the knowledge base.resourceArn(String resourceArn) The ARN of the knowledge base that the resource policy is associated with.revisionId(String revisionId) The revision identifier of the resource policy.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceArn
The ARN of the knowledge base that the resource policy is associated with.
- Parameters:
resourceArn- The ARN of the knowledge base that the resource policy is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON-formatted resource policy associated with the knowledge base.
- Parameters:
policy- The JSON-formatted resource policy associated with the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revision identifier of the resource policy.
- Parameters:
revisionId- The revision identifier of the resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-