@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaTarget extends Object implements Serializable, Cloneable, StructuredPojo
Information about the target AWS Lambda function during an AWS Lambda deployment.
Constructor and Description |
---|
LambdaTarget() |
Modifier and Type | Method and Description |
---|---|
LambdaTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of a deployment.
|
LambdaFunctionInfo |
getLambdaFunctionInfo()
A
LambdaFunctionInfo object that describes a target Lambda function. |
Date |
getLastUpdatedAt()
The date and time when the target Lambda function was updated by a deployment.
|
List<LifecycleEvent> |
getLifecycleEvents()
The lifecycle events of the deployment to this target Lambda function.
|
String |
getStatus()
The status an AWS Lambda deployment's target Lambda function.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) of the target.
|
String |
getTargetId()
The unique ID of a deployment target that has a type of
lambdaTarget . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setLambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)
A
LambdaFunctionInfo object that describes a target Lambda function. |
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Lambda function was updated by a deployment.
|
void |
setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
|
void |
setStatus(String status)
The status an AWS Lambda deployment's target Lambda function.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
|
void |
setTargetId(String targetId)
The unique ID of a deployment target that has a type of
lambdaTarget . |
String |
toString()
Returns a string representation of this object.
|
LambdaTarget |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
LambdaTarget |
withLambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)
A
LambdaFunctionInfo object that describes a target Lambda function. |
LambdaTarget |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Lambda function was updated by a deployment.
|
LambdaTarget |
withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
|
LambdaTarget |
withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
|
LambdaTarget |
withStatus(String status)
The status an AWS Lambda deployment's target Lambda function.
|
LambdaTarget |
withStatus(TargetStatus status)
The status an AWS Lambda deployment's target Lambda function.
|
LambdaTarget |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
|
LambdaTarget |
withTargetId(String targetId)
The unique ID of a deployment target that has a type of
lambdaTarget . |
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public LambdaTarget withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public void setTargetId(String targetId)
The unique ID of a deployment target that has a type of lambdaTarget
.
targetId
- The unique ID of a deployment target that has a type of lambdaTarget
.public String getTargetId()
The unique ID of a deployment target that has a type of lambdaTarget
.
lambdaTarget
.public LambdaTarget withTargetId(String targetId)
The unique ID of a deployment target that has a type of lambdaTarget
.
targetId
- The unique ID of a deployment target that has a type of lambdaTarget
.public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
targetArn
- The Amazon Resource Name (ARN) of the target.public String getTargetArn()
The Amazon Resource Name (ARN) of the target.
public LambdaTarget withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
targetArn
- The Amazon Resource Name (ARN) of the target.public void setStatus(String status)
The status an AWS Lambda deployment's target Lambda function.
status
- The status an AWS Lambda deployment's target Lambda function.TargetStatus
public String getStatus()
The status an AWS Lambda deployment's target Lambda function.
TargetStatus
public LambdaTarget withStatus(String status)
The status an AWS Lambda deployment's target Lambda function.
status
- The status an AWS Lambda deployment's target Lambda function.TargetStatus
public LambdaTarget withStatus(TargetStatus status)
The status an AWS Lambda deployment's target Lambda function.
status
- The status an AWS Lambda deployment's target Lambda function.TargetStatus
public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Lambda function was updated by a deployment.
lastUpdatedAt
- The date and time when the target Lambda function was updated by a deployment.public Date getLastUpdatedAt()
The date and time when the target Lambda function was updated by a deployment.
public LambdaTarget withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the target Lambda function was updated by a deployment.
lastUpdatedAt
- The date and time when the target Lambda function was updated by a deployment.public List<LifecycleEvent> getLifecycleEvents()
The lifecycle events of the deployment to this target Lambda function.
public void setLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
lifecycleEvents
- The lifecycle events of the deployment to this target Lambda function.public LambdaTarget withLifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
NOTE: This method appends the values to the existing list (if any). Use
setLifecycleEvents(java.util.Collection)
or withLifecycleEvents(java.util.Collection)
if you
want to override the existing values.
lifecycleEvents
- The lifecycle events of the deployment to this target Lambda function.public LambdaTarget withLifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
lifecycleEvents
- The lifecycle events of the deployment to this target Lambda function.public void setLambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)
A LambdaFunctionInfo
object that describes a target Lambda function.
lambdaFunctionInfo
- A LambdaFunctionInfo
object that describes a target Lambda function.public LambdaFunctionInfo getLambdaFunctionInfo()
A LambdaFunctionInfo
object that describes a target Lambda function.
LambdaFunctionInfo
object that describes a target Lambda function.public LambdaTarget withLambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)
A LambdaFunctionInfo
object that describes a target Lambda function.
lambdaFunctionInfo
- A LambdaFunctionInfo
object that describes a target Lambda function.public String toString()
toString
in class Object
Object.toString()
public LambdaTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.