Interface GetPolicyResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<GetPolicyResponse.Builder,,GetPolicyResponse> SdkBuilder<GetPolicyResponse.Builder,,GetPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetPolicyResponse
public static interface GetPolicyResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe JSON-formatted resource-based policy attached to theProfilingGroup.revisionId(String revisionId) A unique identifier for the current revision of the returned policy.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
policy
The JSON-formatted resource-based policy attached to the
ProfilingGroup.- Parameters:
 policy- The JSON-formatted resource-based policy attached to theProfilingGroup.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
revisionId
A unique identifier for the current revision of the returned policy.
- Parameters:
 revisionId- A unique identifier for the current revision of the returned policy.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -