Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> EventBridgeV2Response.Builder,SdkBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePolicyResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDocument(String policyDocument) Sets the value of the PolicyDocument property for this object.policyName(String policyName) Sets the value of the PolicyName property for this object.resourceArn(String resourceArn) Sets the value of the ResourceArn property for this object.revisionId(String revisionId) Sets the value of the RevisionId property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Response.Builder
build, responseMetadata, responseMetadataMethods 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
Sets the value of the ResourceArn property for this object.- Parameters:
resourceArn- The new value for the ResourceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
Sets the value of the PolicyDocument property for this object.- Parameters:
policyDocument- The new value for the PolicyDocument property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
Sets the value of the PolicyName property for this object.- Parameters:
policyName- The new value for the PolicyName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
Sets the value of the RevisionId property for this object.- Parameters:
revisionId- The new value for the RevisionId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-