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