Class Group
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.Group
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Group.Builder,Group>
@Generated("software.amazon.awssdk:codegen") public final class Group extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Group.Builder,Group>
The object containing information about distinct imports or groups for Strategy Recommendations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Group.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()GroupNamename()The key of the specific import group.StringnameAsString()The key of the specific import group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Group.Builder>serializableBuilderClass()Group.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the specific import group.-
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
-
name
public final GroupName name()
The key of the specific import group.
If the service returns an enum value that is not available in the current SDK version,
namewill returnGroupName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The key of the specific import group.
- See Also:
GroupName
-
nameAsString
public final String nameAsString()
The key of the specific import group.
If the service returns an enum value that is not available in the current SDK version,
namewill returnGroupName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The key of the specific import group.
- See Also:
GroupName
-
value
public final String value()
The value of the specific import group.
- Returns:
- The value of the specific import group.
-
toBuilder
public Group.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Group.Builder,Group>
-
builder
public static Group.Builder builder()
-
serializableBuilderClass
public static Class<? extends Group.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
-
-