@Generated(value="software.amazon.awssdk:codegen") public final class ManagementPreference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagementPreference.Builder,ManagementPreference>
Preferences for migrating an application to AWS.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ManagementPreference.Builder |
static class |
ManagementPreference.Type |
| Modifier and Type | Method and Description |
|---|---|
AwsManagedResources |
awsManagedResources()
Indicates interest in solutions that are managed by AWS.
|
static ManagementPreference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ManagementPreference |
fromAwsManagedResources(AwsManagedResources awsManagedResources)
Create an instance of this class with
awsManagedResources() initialized to the given value. |
static ManagementPreference |
fromAwsManagedResources(Consumer<AwsManagedResources.Builder> awsManagedResources)
Create an instance of this class with
awsManagedResources() initialized to the given value. |
static ManagementPreference |
fromNoPreference(Consumer<NoManagementPreference.Builder> noPreference)
Create an instance of this class with
noPreference() initialized to the given value. |
static ManagementPreference |
fromNoPreference(NoManagementPreference noPreference)
Create an instance of this class with
noPreference() initialized to the given value. |
static ManagementPreference |
fromSelfManageResources(Consumer<SelfManageResources.Builder> selfManageResources)
Create an instance of this class with
selfManageResources() initialized to the given value. |
static ManagementPreference |
fromSelfManageResources(SelfManageResources selfManageResources)
Create an instance of this class with
selfManageResources() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NoManagementPreference |
noPreference()
No specific preference.
|
List<SdkField<?>> |
sdkFields() |
SelfManageResources |
selfManageResources()
Indicates interest in managing your own resources on AWS.
|
static Class<? extends ManagementPreference.Builder> |
serializableBuilderClass() |
ManagementPreference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ManagementPreference.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsManagedResources awsManagedResources()
Indicates interest in solutions that are managed by AWS.
public final NoManagementPreference noPreference()
No specific preference.
public final SelfManageResources selfManageResources()
Indicates interest in managing your own resources on AWS.
public ManagementPreference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ManagementPreference.Builder,ManagementPreference>public static ManagementPreference.Builder builder()
public static Class<? extends ManagementPreference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ManagementPreference fromAwsManagedResources(AwsManagedResources awsManagedResources)
awsManagedResources() initialized to the given value.
Indicates interest in solutions that are managed by AWS.
awsManagedResources - Indicates interest in solutions that are managed by AWS.public static ManagementPreference fromAwsManagedResources(Consumer<AwsManagedResources.Builder> awsManagedResources)
awsManagedResources() initialized to the given value.
Indicates interest in solutions that are managed by AWS.
awsManagedResources - Indicates interest in solutions that are managed by AWS.public static ManagementPreference fromNoPreference(NoManagementPreference noPreference)
noPreference() initialized to the given value.
No specific preference.
noPreference - No specific preference.public static ManagementPreference fromNoPreference(Consumer<NoManagementPreference.Builder> noPreference)
noPreference() initialized to the given value.
No specific preference.
noPreference - No specific preference.public static ManagementPreference fromSelfManageResources(SelfManageResources selfManageResources)
selfManageResources() initialized to the given value.
Indicates interest in managing your own resources on AWS.
selfManageResources - Indicates interest in managing your own resources on AWS.public static ManagementPreference fromSelfManageResources(Consumer<SelfManageResources.Builder> selfManageResources)
selfManageResources() initialized to the given value.
Indicates interest in managing your own resources on AWS.
selfManageResources - Indicates interest in managing your own resources on AWS.public ManagementPreference.Type type()
ManagementPreference.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 ManagementPreference.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.