@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cors extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Cors() |
| Modifier and Type | Method and Description |
|---|---|
Cors |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowCredentials() |
List<String> |
getAllowHeaders() |
List<String> |
getAllowMethods() |
List<String> |
getAllowOrigins() |
List<String> |
getExposeHeaders() |
Integer |
getMaxAge() |
int |
hashCode() |
Boolean |
isAllowCredentials() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowCredentials(Boolean allowCredentials) |
void |
setAllowHeaders(Collection<String> allowHeaders) |
void |
setAllowMethods(Collection<String> allowMethods) |
void |
setAllowOrigins(Collection<String> allowOrigins) |
void |
setExposeHeaders(Collection<String> exposeHeaders) |
void |
setMaxAge(Integer maxAge) |
String |
toString()
Returns a string representation of this object.
|
Cors |
withAllowCredentials(Boolean allowCredentials) |
Cors |
withAllowHeaders(Collection<String> allowHeaders) |
Cors |
withAllowHeaders(String... allowHeaders)
NOTE: This method appends the values to the existing list (if any).
|
Cors |
withAllowMethods(Collection<String> allowMethods) |
Cors |
withAllowMethods(String... allowMethods)
NOTE: This method appends the values to the existing list (if any).
|
Cors |
withAllowOrigins(Collection<String> allowOrigins) |
Cors |
withAllowOrigins(String... allowOrigins)
NOTE: This method appends the values to the existing list (if any).
|
Cors |
withExposeHeaders(Collection<String> exposeHeaders) |
Cors |
withExposeHeaders(String... exposeHeaders)
NOTE: This method appends the values to the existing list (if any).
|
Cors |
withMaxAge(Integer maxAge) |
public void setAllowCredentials(Boolean allowCredentials)
allowCredentials - public Boolean getAllowCredentials()
public Cors withAllowCredentials(Boolean allowCredentials)
allowCredentials - public Boolean isAllowCredentials()
public void setAllowHeaders(Collection<String> allowHeaders)
allowHeaders - public Cors withAllowHeaders(String... allowHeaders)
NOTE: This method appends the values to the existing list (if any). Use
setAllowHeaders(java.util.Collection) or withAllowHeaders(java.util.Collection) if you want to
override the existing values.
allowHeaders - public Cors withAllowHeaders(Collection<String> allowHeaders)
allowHeaders - public void setAllowMethods(Collection<String> allowMethods)
allowMethods - public Cors withAllowMethods(String... allowMethods)
NOTE: This method appends the values to the existing list (if any). Use
setAllowMethods(java.util.Collection) or withAllowMethods(java.util.Collection) if you want to
override the existing values.
allowMethods - public Cors withAllowMethods(Collection<String> allowMethods)
allowMethods - public void setAllowOrigins(Collection<String> allowOrigins)
allowOrigins - public Cors withAllowOrigins(String... allowOrigins)
NOTE: This method appends the values to the existing list (if any). Use
setAllowOrigins(java.util.Collection) or withAllowOrigins(java.util.Collection) if you want to
override the existing values.
allowOrigins - public Cors withAllowOrigins(Collection<String> allowOrigins)
allowOrigins - public void setExposeHeaders(Collection<String> exposeHeaders)
exposeHeaders - public Cors withExposeHeaders(String... exposeHeaders)
NOTE: This method appends the values to the existing list (if any). Use
setExposeHeaders(java.util.Collection) or withExposeHeaders(java.util.Collection) if you want
to override the existing values.
exposeHeaders - public Cors withExposeHeaders(Collection<String> exposeHeaders)
exposeHeaders - public void setMaxAge(Integer maxAge)
maxAge - public Integer getMaxAge()
public Cors withMaxAge(Integer maxAge)
maxAge - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.