Interface GetResourcePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourcePolicyResponse
public static interface GetResourcePolicyResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourcePolicyResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time when the resource-based policy was created, in UNIX epoch time format.GetResourcePolicyResponse.Builderpolicy(String policy)The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.GetResourcePolicyResponse.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
-
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 AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
GetResourcePolicyResponse.Builder policy(String policy)
The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.
- Parameters:
policy- The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
GetResourcePolicyResponse.Builder createdTimestamp(Instant createdTimestamp)
The time when the resource-based policy was created, in UNIX epoch time format.
- Parameters:
createdTimestamp- The time when the resource-based policy was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-