Class SourceMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.networkfirewall.model.SourceMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceMetadata.Builder,SourceMetadata>
@Generated("software.amazon.awssdk:codegen") public final class SourceMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceMetadata.Builder,SourceMetadata>
High-level information about the managed rule group that your own rule group is copied from. You can use the the metadata to track version updates made to the originating rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceMetadata.Builder>serializableBuilderClass()StringsourceArn()The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.StringsourceUpdateToken()The update token of the Amazon Web Services managed rule group that your own rule group is copied from.SourceMetadata.BuildertoBuilder()StringtoString()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
-
sourceArn
public final String sourceArn()
The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.
- Returns:
- The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.
-
sourceUpdateToken
public final String sourceUpdateToken()
The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.
- Returns:
- The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.
-
toBuilder
public SourceMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceMetadata.Builder,SourceMetadata>
-
builder
public static SourceMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-