Class AddPermissionResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.AddPermissionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AddPermissionResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddPermissionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddPermissionResult
clone()
boolean
equals(Object obj)
String
getStatement()
The permission statement you specified in the request.int
hashCode()
void
setStatement(String statement)
The permission statement you specified in the request.String
toString()
Returns a string representation of this object; useful for testing and debugging.AddPermissionResult
withStatement(String statement)
The permission statement you specified in the request.
-
-
-
Method Detail
-
setStatement
public void setStatement(String statement)
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Parameters:
statement
- The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
-
getStatement
public String getStatement()
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Returns:
- The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
-
withStatement
public AddPermissionResult withStatement(String statement)
The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Parameters:
statement
- The permission statement you specified in the request. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddPermissionResult clone()
-
-