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 Details

    • policy

      The JSON-formatted resource-based policy attached to the ProfilingGroup.

      Parameters:
      policy - The JSON-formatted resource-based policy attached to the ProfilingGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      GetPolicyResponse.Builder revisionId(String 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.