@Generated(value="software.amazon.awssdk:codegen") public final class AppComponent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppComponent.Builder,AppComponent>
Defines an Application Component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppComponent.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
additionalInfo()
Additional configuration parameters for an Resilience Hub application.
|
static AppComponent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalInfo()
For responses, this returns true if the service returned a value for the AdditionalInfo property.
|
int |
hashCode() |
String |
id()
Identifier of the Application Component.
|
String |
name()
Name of the Application Component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AppComponent.Builder> |
serializableBuilderClass() |
AppComponent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of Application Component.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAdditionalInfo()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,List<String>> additionalInfo()
Additional configuration parameters for an Resilience Hub application. If you want to implement
additionalInfo through the Resilience Hub console rather than using an API call, see Configure the
application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalInfo() method.
additionalInfo through the Resilience Hub console rather than using an API call, see Configure the
application configuration parameters. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
public final String id()
Identifier of the Application Component.
public final String name()
Name of the Application Component.
public final String type()
The type of Application Component.
public AppComponent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AppComponent.Builder,AppComponent>public static AppComponent.Builder builder()
public static Class<? extends AppComponent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.