Class GetBackendResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.amplifybackend.model.AmplifyBackendResponse
-
- software.amazon.awssdk.services.amplifybackend.model.GetBackendResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBackendResponse.Builder,GetBackendResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetBackendResponse extends AmplifyBackendResponse implements ToCopyableBuilder<GetBackendResponse.Builder,GetBackendResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBackendResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringamplifyFeatureFlags()A stringified version of the cli.json file for your Amplify project.StringamplifyMetaConfig()A stringified version of the current configs for your Amplify project.StringappId()The app ID.StringappName()The name of the app.List<String>backendEnvironmentList()A list of backend environments in an array.StringbackendEnvironmentName()The name of the backend environment.static GetBackendResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()If the request failed, this is the returned error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasBackendEnvironmentList()For responses, this returns true if the service returned a value for the BackendEnvironmentList property.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetBackendResponse.Builder>serializableBuilderClass()GetBackendResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.amplifybackend.model.AmplifyBackendResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
amplifyFeatureFlags
public final String amplifyFeatureFlags()
A stringified version of the cli.json file for your Amplify project.
- Returns:
- A stringified version of the cli.json file for your Amplify project.
-
amplifyMetaConfig
public final String amplifyMetaConfig()
A stringified version of the current configs for your Amplify project.
- Returns:
- A stringified version of the current configs for your Amplify project.
-
appId
public final String appId()
The app ID.
- Returns:
- The app ID.
-
appName
public final String appName()
The name of the app.
- Returns:
- The name of the app.
-
hasBackendEnvironmentList
public final boolean hasBackendEnvironmentList()
For responses, this returns true if the service returned a value for the BackendEnvironmentList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
backendEnvironmentList
public final List<String> backendEnvironmentList()
A list of backend environments in an array.
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
hasBackendEnvironmentList()method.- Returns:
- A list of backend environments in an array.
-
backendEnvironmentName
public final String backendEnvironmentName()
The name of the backend environment.
- Returns:
- The name of the backend environment.
-
error
public final String error()
If the request failed, this is the returned error.
- Returns:
- If the request failed, this is the returned error.
-
toBuilder
public GetBackendResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBackendResponse.Builder,GetBackendResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetBackendResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBackendResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-