@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectAppConfigResourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Use this parameter to configure client-side evaluation for your project. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation to assign the variations. This mitigates the latency and availability risks that come with an API call.
ProjectAppConfigResource
is a structure that defines the configuration of how your application
integrates with AppConfig to run client-side evaluation.
Constructor and Description |
---|
ProjectAppConfigResourceConfig() |
Modifier and Type | Method and Description |
---|---|
ProjectAppConfigResourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the AppConfig application to use for client-side evaluation.
|
String |
getEnvironmentId()
The ID of the AppConfig environment to use for client-side evaluation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the AppConfig application to use for client-side evaluation.
|
void |
setEnvironmentId(String environmentId)
The ID of the AppConfig environment to use for client-side evaluation.
|
String |
toString()
Returns a string representation of this object.
|
ProjectAppConfigResourceConfig |
withApplicationId(String applicationId)
The ID of the AppConfig application to use for client-side evaluation.
|
ProjectAppConfigResourceConfig |
withEnvironmentId(String environmentId)
The ID of the AppConfig environment to use for client-side evaluation.
|
public void setApplicationId(String applicationId)
The ID of the AppConfig application to use for client-side evaluation.
applicationId
- The ID of the AppConfig application to use for client-side evaluation.public String getApplicationId()
The ID of the AppConfig application to use for client-side evaluation.
public ProjectAppConfigResourceConfig withApplicationId(String applicationId)
The ID of the AppConfig application to use for client-side evaluation.
applicationId
- The ID of the AppConfig application to use for client-side evaluation.public void setEnvironmentId(String environmentId)
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within
the application that you specify for applicationId
.
environmentId
- The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is
within the application that you specify for applicationId
.public String getEnvironmentId()
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within
the application that you specify for applicationId
.
applicationId
.public ProjectAppConfigResourceConfig withEnvironmentId(String environmentId)
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within
the application that you specify for applicationId
.
environmentId
- The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is
within the application that you specify for applicationId
.public String toString()
toString
in class Object
Object.toString()
public ProjectAppConfigResourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.