@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentResponse extends Object implements Serializable, Cloneable, StructuredPojo
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
Constructor and Description |
---|
EnvironmentResponse() |
Modifier and Type | Method and Description |
---|---|
EnvironmentResponse |
addVariablesEntry(String key,
String value)
Add a single Variables entry
|
EnvironmentResponse |
clearVariablesEntries()
Removes all the entries added into Variables.
|
EnvironmentResponse |
clone() |
boolean |
equals(Object obj) |
EnvironmentError |
getError()
Error messages for environment variables that couldn't be applied.
|
Map<String,String> |
getVariables()
Environment variable key-value pairs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setError(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
|
void |
setVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentResponse |
withError(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
|
EnvironmentResponse |
withVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
public Map<String,String> getVariables()
Environment variable key-value pairs. Omitted from CloudTrail logs.
public void setVariables(Map<String,String> variables)
Environment variable key-value pairs. Omitted from CloudTrail logs.
variables
- Environment variable key-value pairs. Omitted from CloudTrail logs.public EnvironmentResponse withVariables(Map<String,String> variables)
Environment variable key-value pairs. Omitted from CloudTrail logs.
variables
- Environment variable key-value pairs. Omitted from CloudTrail logs.public EnvironmentResponse addVariablesEntry(String key, String value)
public EnvironmentResponse clearVariablesEntries()
public void setError(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
error
- Error messages for environment variables that couldn't be applied.public EnvironmentError getError()
Error messages for environment variables that couldn't be applied.
public EnvironmentResponse withError(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
error
- Error messages for environment variables that couldn't be applied.public String toString()
toString
in class Object
Object.toString()
public EnvironmentResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.