@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExternalUrlConfig extends Object implements Serializable, Cloneable, StructuredPojo
The external URL source for the application.
| Constructor and Description |
|---|
ExternalUrlConfig() |
| Modifier and Type | Method and Description |
|---|---|
ExternalUrlConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAccessUrl()
The URL to access the application.
|
List<String> |
getApprovedOrigins()
Additional URLs to allow list if different than the access URL.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccessUrl(String accessUrl)
The URL to access the application.
|
void |
setApprovedOrigins(Collection<String> approvedOrigins)
Additional URLs to allow list if different than the access URL.
|
String |
toString()
Returns a string representation of this object.
|
ExternalUrlConfig |
withAccessUrl(String accessUrl)
The URL to access the application.
|
ExternalUrlConfig |
withApprovedOrigins(Collection<String> approvedOrigins)
Additional URLs to allow list if different than the access URL.
|
ExternalUrlConfig |
withApprovedOrigins(String... approvedOrigins)
Additional URLs to allow list if different than the access URL.
|
public void setAccessUrl(String accessUrl)
The URL to access the application.
accessUrl - The URL to access the application.public String getAccessUrl()
The URL to access the application.
public ExternalUrlConfig withAccessUrl(String accessUrl)
The URL to access the application.
accessUrl - The URL to access the application.public List<String> getApprovedOrigins()
Additional URLs to allow list if different than the access URL.
public void setApprovedOrigins(Collection<String> approvedOrigins)
Additional URLs to allow list if different than the access URL.
approvedOrigins - Additional URLs to allow list if different than the access URL.public ExternalUrlConfig withApprovedOrigins(String... approvedOrigins)
Additional URLs to allow list if different than the access URL.
NOTE: This method appends the values to the existing list (if any). Use
setApprovedOrigins(java.util.Collection) or withApprovedOrigins(java.util.Collection) if you
want to override the existing values.
approvedOrigins - Additional URLs to allow list if different than the access URL.public ExternalUrlConfig withApprovedOrigins(Collection<String> approvedOrigins)
Additional URLs to allow list if different than the access URL.
approvedOrigins - Additional URLs to allow list if different than the access URL.public String toString()
toString in class ObjectObject.toString()public ExternalUrlConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.