Class PrefixListId
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.PrefixListId
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PrefixListId.Builder,PrefixListId>
@Generated("software.amazon.awssdk:codegen") public final class PrefixListId extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrefixListId.Builder,PrefixListId>
Describes a prefix list ID.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PrefixListId.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrefixListId.Builder
builder()
String
description()
A description for the security group rule that references this prefix list ID.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
prefixListId()
The ID of the prefix.List<SdkField<?>>
sdkFields()
static Class<? extends PrefixListId.Builder>
serializableBuilderClass()
PrefixListId.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
description
public final String description()
A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
- Returns:
- A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
-
prefixListId
public final String prefixListId()
The ID of the prefix.
- Returns:
- The ID of the prefix.
-
toBuilder
public PrefixListId.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PrefixListId.Builder,PrefixListId>
-
builder
public static PrefixListId.Builder builder()
-
serializableBuilderClass
public static Class<? extends PrefixListId.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-