Interface PutResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutResourcePolicyResponse.Builder,,PutResourcePolicyResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<PutResourcePolicyResponse.Builder,,PutResourcePolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface PutResourcePolicyResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The time when the resource-based policy was created, in UNIX epoch time format.The JSON formatted Resource Policy.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the End User MessagingSMS resource attached to the resource-based policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods 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 End User MessagingSMS resource attached to the resource-based policy.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the End User MessagingSMS resource attached to the resource-based policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON formatted Resource Policy.
- Parameters:
policy- The JSON formatted Resource Policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-