@Generated(value="software.amazon.awssdk:codegen") public final class PutResourcePolicyResponse extends SecretsManagerResponse implements ToCopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
PutResourcePolicyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the secret retrieved by the resource-based policy.
|
static PutResourcePolicyResponse.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 retrieved by the resource-based policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutResourcePolicyResponse.Builder> |
serializableBuilderClass() |
PutResourcePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String arn()
The ARN of the secret retrieved by the resource-based policy.
public String name()
The friendly name of the secret that the retrieved by the resource-based policy.
public PutResourcePolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
toBuilder
in class AwsResponse
public static PutResourcePolicyResponse.Builder builder()
public static Class<? extends PutResourcePolicyResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.