Class DatasetOrgAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.DatasetOrgAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetOrgAttributes.Builder,DatasetOrgAttributes>
@Generated("software.amazon.awssdk:codegen") public final class DatasetOrgAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetOrgAttributes.Builder,DatasetOrgAttributes>
Additional details about the data set. Different attributes correspond to different data set organizations. The values are populated based on datasetOrg, storageType and backend (Blu Age or Micro Focus).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetOrgAttributes.Builderstatic classDatasetOrgAttributes.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetOrgAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static DatasetOrgAttributesfromGdg(Consumer<GdgAttributes.Builder> gdg)Create an instance of this class withgdg()initialized to the given value.static DatasetOrgAttributesfromGdg(GdgAttributes gdg)Create an instance of this class withgdg()initialized to the given value.static DatasetOrgAttributesfromPo(Consumer<PoAttributes.Builder> po)Create an instance of this class withpo()initialized to the given value.static DatasetOrgAttributesfromPo(PoAttributes po)Create an instance of this class withpo()initialized to the given value.static DatasetOrgAttributesfromPs(Consumer<PsAttributes.Builder> ps)Create an instance of this class withps()initialized to the given value.static DatasetOrgAttributesfromPs(PsAttributes ps)Create an instance of this class withps()initialized to the given value.static DatasetOrgAttributesfromVsam(Consumer<VsamAttributes.Builder> vsam)Create an instance of this class withvsam()initialized to the given value.static DatasetOrgAttributesfromVsam(VsamAttributes vsam)Create an instance of this class withvsam()initialized to the given value.GdgAttributesgdg()The generation data group of the data set.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PoAttributespo()The details of a PO type data set.PsAttributesps()The details of a PS type data set.List<SdkField<?>>sdkFields()static Class<? extends DatasetOrgAttributes.Builder>serializableBuilderClass()DatasetOrgAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.DatasetOrgAttributes.Typetype()Retrieve an enum value representing which member of this object is populated.VsamAttributesvsam()The details of a VSAM data set.-
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
-
gdg
public final GdgAttributes gdg()
The generation data group of the data set.
- Returns:
- The generation data group of the data set.
-
po
public final PoAttributes po()
The details of a PO type data set.
- Returns:
- The details of a PO type data set.
-
ps
public final PsAttributes ps()
The details of a PS type data set.
- Returns:
- The details of a PS type data set.
-
vsam
public final VsamAttributes vsam()
The details of a VSAM data set.
- Returns:
- The details of a VSAM data set.
-
toBuilder
public DatasetOrgAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetOrgAttributes.Builder,DatasetOrgAttributes>
-
builder
public static DatasetOrgAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetOrgAttributes.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.
-
fromGdg
public static DatasetOrgAttributes fromGdg(GdgAttributes gdg)
Create an instance of this class withgdg()initialized to the given value.The generation data group of the data set.
- Parameters:
gdg- The generation data group of the data set.
-
fromGdg
public static DatasetOrgAttributes fromGdg(Consumer<GdgAttributes.Builder> gdg)
Create an instance of this class withgdg()initialized to the given value.The generation data group of the data set.
- Parameters:
gdg- The generation data group of the data set.
-
fromPo
public static DatasetOrgAttributes fromPo(PoAttributes po)
Create an instance of this class withpo()initialized to the given value.The details of a PO type data set.
- Parameters:
po- The details of a PO type data set.
-
fromPo
public static DatasetOrgAttributes fromPo(Consumer<PoAttributes.Builder> po)
Create an instance of this class withpo()initialized to the given value.The details of a PO type data set.
- Parameters:
po- The details of a PO type data set.
-
fromPs
public static DatasetOrgAttributes fromPs(PsAttributes ps)
Create an instance of this class withps()initialized to the given value.The details of a PS type data set.
- Parameters:
ps- The details of a PS type data set.
-
fromPs
public static DatasetOrgAttributes fromPs(Consumer<PsAttributes.Builder> ps)
Create an instance of this class withps()initialized to the given value.The details of a PS type data set.
- Parameters:
ps- The details of a PS type data set.
-
fromVsam
public static DatasetOrgAttributes fromVsam(VsamAttributes vsam)
Create an instance of this class withvsam()initialized to the given value.The details of a VSAM data set.
- Parameters:
vsam- The details of a VSAM data set.
-
fromVsam
public static DatasetOrgAttributes fromVsam(Consumer<VsamAttributes.Builder> vsam)
Create an instance of this class withvsam()initialized to the given value.The details of a VSAM data set.
- Parameters:
vsam- The details of a VSAM data set.
-
type
public DatasetOrgAttributes.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beDatasetOrgAttributes.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beDatasetOrgAttributes.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-