@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionUrlConfig extends Object implements Serializable, Cloneable, StructuredPojo
Details about a Lambda function URL.
Constructor and Description |
---|
FunctionUrlConfig() |
Modifier and Type | Method and Description |
---|---|
FunctionUrlConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAuthType()
The type of authentication that your function URL uses.
|
Cors |
getCors()
The cross-origin resource sharing (CORS)
settings for your function URL.
|
String |
getCreationTime()
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
getFunctionArn()
The Amazon Resource Name (ARN) of your function.
|
String |
getFunctionUrl()
The HTTP URL endpoint for your function.
|
String |
getLastModifiedTime()
When the function URL configuration was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAuthType(String authType)
The type of authentication that your function URL uses.
|
void |
setCors(Cors cors)
The cross-origin resource sharing (CORS)
settings for your function URL.
|
void |
setCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
void |
setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
|
void |
setFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
|
void |
setLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
String |
toString()
Returns a string representation of this object.
|
FunctionUrlConfig |
withAuthType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses.
|
FunctionUrlConfig |
withAuthType(String authType)
The type of authentication that your function URL uses.
|
FunctionUrlConfig |
withCors(Cors cors)
The cross-origin resource sharing (CORS)
settings for your function URL.
|
FunctionUrlConfig |
withCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
|
FunctionUrlConfig |
withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
|
FunctionUrlConfig |
withFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
|
FunctionUrlConfig |
withLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
public void setFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
functionUrl
- The HTTP URL endpoint for your function.public String getFunctionUrl()
The HTTP URL endpoint for your function.
public FunctionUrlConfig withFunctionUrl(String functionUrl)
The HTTP URL endpoint for your function.
functionUrl
- The HTTP URL endpoint for your function.public void setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
functionArn
- The Amazon Resource Name (ARN) of your function.public String getFunctionArn()
The Amazon Resource Name (ARN) of your function.
public FunctionUrlConfig withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) of your function.
functionArn
- The Amazon Resource Name (ARN) of your function.public void setCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
creationTime
- When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).public String getCreationTime()
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public FunctionUrlConfig withCreationTime(String creationTime)
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
creationTime
- When the function URL was created, in ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).public void setLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime
- When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).public String getLastModifiedTime()
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public FunctionUrlConfig withLastModifiedTime(String lastModifiedTime)
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
lastModifiedTime
- When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).public void setCors(Cors cors)
The cross-origin resource sharing (CORS) settings for your function URL.
cors
- The cross-origin resource sharing
(CORS) settings for your function URL.public Cors getCors()
The cross-origin resource sharing (CORS) settings for your function URL.
public FunctionUrlConfig withCors(Cors cors)
The cross-origin resource sharing (CORS) settings for your function URL.
cors
- The cross-origin resource sharing
(CORS) settings for your function URL.public void setAuthType(String authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM
users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM
users only. Set to NONE
if you want to
bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public String getAuthType()
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM
users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
AWS_IAM
if you want to
restrict access to authenticated IAM
users only. Set to NONE
if you want to
bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public FunctionUrlConfig withAuthType(String authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM
users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM
users only. Set to NONE
if you want to
bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public FunctionUrlConfig withAuthType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict
access to authenticated IAM
users only. Set to NONE
if you want to bypass IAM
authentication to create a public endpoint. For more information, see Security and auth model for Lambda function
URLs.
authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to
restrict access to authenticated IAM
users only. Set to NONE
if you want to
bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda
function URLs.FunctionUrlAuthType
public String toString()
toString
in class Object
Object.toString()
public FunctionUrlConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.