@Generated(value="software.amazon.awssdk:codegen") public final class ExportPreferences extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportPreferences.Builder,ExportPreferences>
Indicates the type of data that is being exported. Only one ExportPreferences can be enabled for a StartExportTask
action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExportPreferences.Builder |
static class |
ExportPreferences.Type |
| Modifier and Type | Method and Description |
|---|---|
static ExportPreferences.Builder |
builder() |
Ec2RecommendationsExportPreferences |
ec2RecommendationsPreferences()
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon
Web Services Application Discovery Service.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ExportPreferences |
fromEc2RecommendationsPreferences(Consumer<Ec2RecommendationsExportPreferences.Builder> ec2RecommendationsPreferences)
Create an instance of this class with
ec2RecommendationsPreferences() initialized to the given value. |
static ExportPreferences |
fromEc2RecommendationsPreferences(Ec2RecommendationsExportPreferences ec2RecommendationsPreferences)
Create an instance of this class with
ec2RecommendationsPreferences() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportPreferences.Builder> |
serializableBuilderClass() |
ExportPreferences.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ExportPreferences.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Ec2RecommendationsExportPreferences ec2RecommendationsPreferences()
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
public ExportPreferences.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExportPreferences.Builder,ExportPreferences>public static ExportPreferences.Builder builder()
public static Class<? extends ExportPreferences.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ExportPreferences fromEc2RecommendationsPreferences(Ec2RecommendationsExportPreferences ec2RecommendationsPreferences)
ec2RecommendationsPreferences() initialized to the given value.
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
ec2RecommendationsPreferences - If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through
Amazon Web Services Application Discovery Service.public static ExportPreferences fromEc2RecommendationsPreferences(Consumer<Ec2RecommendationsExportPreferences.Builder> ec2RecommendationsPreferences)
ec2RecommendationsPreferences() initialized to the given value.
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
ec2RecommendationsPreferences - If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through
Amazon Web Services Application Discovery Service.public ExportPreferences.Type type()
ExportPreferences.Type.UNKNOWN_TO_SDK_VERSION if 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 be ExportPreferences.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.