@Generated(value="software.amazon.awssdk:codegen") public final class Limit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Limit.Builder,Limit>
Specifies how many protections of a given type you can create.
Modifier and Type | Class and Description |
---|---|
static interface |
Limit.Builder |
Modifier and Type | Method and Description |
---|---|
static Limit.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
max()
The maximum number of protections that can be created for the specified
Type . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Limit.Builder> |
serializableBuilderClass() |
Limit.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of protection.
|
copy
public String type()
The type of protection.
public Long max()
The maximum number of protections that can be created for the specified Type
.
Type
.public Limit.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Limit.Builder,Limit>
public static Limit.Builder builder()
public static Class<? extends Limit.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.