@Generated(value="software.amazon.awssdk:codegen") public final class DescribeProtectionRequest extends ShieldRequest implements ToCopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeProtectionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeProtectionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
protectionId()
The unique identifier (ID) for the Protection object to describe.
|
String |
resourceArn()
The ARN (Amazon Resource Name) of the protected Amazon Web Services resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeProtectionRequest.Builder> |
serializableBuilderClass() |
DescribeProtectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String protectionId()
The unique identifier (ID) for the Protection object to describe. You must provide either the
ResourceArn of the protected resource or the ProtectionID of the protection, but not
both.
ResourceArn of the protected resource or the ProtectionID of the protection,
but not both.public final String resourceArn()
The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the
ResourceArn of the protected resource or the ProtectionID of the protection, but not
both.
ResourceArn of the protected resource or the ProtectionID of the protection,
but not both.public DescribeProtectionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>toBuilder in class ShieldRequestpublic static DescribeProtectionRequest.Builder builder()
public static Class<? extends DescribeProtectionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.