@Generated(value="software.amazon.awssdk:codegen") public final class GetResourcePolicyResponse extends SecretsManagerResponse implements ToCopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetResourcePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the secret that the resource-based policy was retrieved for.
|
static GetResourcePolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The friendly name of the secret that the resource-based policy was retrieved for.
|
String |
resourcePolicy()
A JSON-formatted string that describes the permissions that are associated with the attached secret.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetResourcePolicyResponse.Builder> |
serializableBuilderClass() |
GetResourcePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the secret that the resource-based policy was retrieved for.
public final String name()
The friendly name of the secret that the resource-based policy was retrieved for.
public final String resourcePolicy()
A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see Authentication and Access Control for Amazon Web Services Secrets Manager in the Amazon Web Services Secrets Manager User Guide.
public GetResourcePolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>toBuilder in class AwsResponsepublic static GetResourcePolicyResponse.Builder builder()
public static Class<? extends GetResourcePolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.