@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Application extends Object implements Serializable, Cloneable, StructuredPojo
This API is in preview release for Amazon Connect and is subject to change.
A third-party application's metadata.
Constructor and Description |
---|
Application() |
Modifier and Type | Method and Description |
---|---|
Application |
clone() |
boolean |
equals(Object obj) |
List<String> |
getApplicationPermissions()
The permissions that the agent is granted on the application.
|
String |
getNamespace()
Namespace of the application that you want to give access to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationPermissions(Collection<String> applicationPermissions)
The permissions that the agent is granted on the application.
|
void |
setNamespace(String namespace)
Namespace of the application that you want to give access to.
|
String |
toString()
Returns a string representation of this object.
|
Application |
withApplicationPermissions(Collection<String> applicationPermissions)
The permissions that the agent is granted on the application.
|
Application |
withApplicationPermissions(String... applicationPermissions)
The permissions that the agent is granted on the application.
|
Application |
withNamespace(String namespace)
Namespace of the application that you want to give access to.
|
public void setNamespace(String namespace)
Namespace of the application that you want to give access to.
namespace
- Namespace of the application that you want to give access to.public String getNamespace()
Namespace of the application that you want to give access to.
public Application withNamespace(String namespace)
Namespace of the application that you want to give access to.
namespace
- Namespace of the application that you want to give access to.public List<String> getApplicationPermissions()
The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.
ACCESS
permission is
supported.public void setApplicationPermissions(Collection<String> applicationPermissions)
The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.
applicationPermissions
- The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.public Application withApplicationPermissions(String... applicationPermissions)
The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.
NOTE: This method appends the values to the existing list (if any). Use
setApplicationPermissions(java.util.Collection)
or
withApplicationPermissions(java.util.Collection)
if you want to override the existing values.
applicationPermissions
- The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.public Application withApplicationPermissions(Collection<String> applicationPermissions)
The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.
applicationPermissions
- The permissions that the agent is granted on the application. Only the ACCESS
permission is
supported.public String toString()
toString
in class Object
Object.toString()
public Application clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.