@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 that is described.
|
String |
resourceArn()
The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.
|
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 that is described. When submitting the
DescribeProtection request you must provide either the ResourceArn or the
ProtectionID, but not both.
DescribeProtection request you must provide either the ResourceArn or the
ProtectionID, but not both.public final String resourceArn()
The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When
submitting the DescribeProtection request you must provide either the ResourceArn or
the ProtectionID, but not both.
DescribeProtection request you must provide either the
ResourceArn or the ProtectionID, 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 © 2021. All rights reserved.