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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourcePolicyResponse.Builderpolicy(String policy)The resource-based policy document attached to the resource inJSONformat.GetResourcePolicyResponse.BuilderresourceArn(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 Detail
-
resourceArn
GetResourcePolicyResponse.Builder resourceArn(String 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
GetResourcePolicyResponse.Builder policy(String 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.
-
-