StructuredPojo
, ToCopyableBuilder<Protection.Builder,Protection>
@Generated("software.amazon.awssdk:codegen") public class Protection extends Object implements StructuredPojo, ToCopyableBuilder<Protection.Builder,Protection>
An object that represents a resource that is under DDoS protection.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Protection.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Protection.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The unique identifier (ID) of the protection.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The friendly name of the protection.
|
String |
resourceArn() |
The ARN (Amazon Resource Name) of the AWS resource that is protected.
|
static Class<? extends Protection.Builder> |
serializableBuilderClass() |
|
Protection.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String id()
The unique identifier (ID) of the protection.
public String name()
The friendly name of the protection. For example, My CloudFront distributions
.
My CloudFront distributions
.public String resourceArn()
The ARN (Amazon Resource Name) of the AWS resource that is protected.
public Protection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Protection.Builder,Protection>
public static Protection.Builder builder()
public static Class<? extends Protection.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.