Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingResponse.Builder
,Buildable
,CopyableBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
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 inJSON
format.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, 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, sdkFieldNameToField, sdkFields
Methods 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
JSON
format.- Parameters:
policy
- The resource-based policy document attached to the resource inJSON
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-