Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,,GetResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
public static interface GetResourcePolicyResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe resource-based policy document attached to the resource inJSONformat.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.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 billing view resource to which the policy is attached to.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The resource-based policy document attached to the resource in
JSONformat.- Parameters:
policy- The resource-based policy document attached to the resource inJSONformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-