Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
public static interface GetResourcePolicyResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.resourcePolicy
(String resourcePolicy) A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceArn
The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcePolicy
A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
- Parameters:
resourcePolicy
- A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-