Class WorkloadIdentityAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.WorkloadIdentityAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkloadIdentityAttributes>
- Enclosing interface:
WorkloadIdentityAttributes
@Stability(Stable)
public static final class WorkloadIdentityAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<WorkloadIdentityAttributes>
A builder for
WorkloadIdentityAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createdTime(String createdTime) Sets the value ofWorkloadIdentityAttributes.getCreatedTime()lastUpdatedTime(String lastUpdatedTime) Sets the value ofWorkloadIdentityAttributes.getLastUpdatedTime()workloadIdentityArn(String workloadIdentityArn) Sets the value ofWorkloadIdentityAttributes.getWorkloadIdentityArn()workloadIdentityName(String workloadIdentityName) Sets the value ofWorkloadIdentityAttributes.getWorkloadIdentityName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workloadIdentityArn
@Stability(Stable) public WorkloadIdentityAttributes.Builder workloadIdentityArn(String workloadIdentityArn) Sets the value ofWorkloadIdentityAttributes.getWorkloadIdentityArn()- Parameters:
workloadIdentityArn- ARN of the workload identity. This parameter is required.- Returns:
this
-
workloadIdentityName
@Stability(Stable) public WorkloadIdentityAttributes.Builder workloadIdentityName(String workloadIdentityName) Sets the value ofWorkloadIdentityAttributes.getWorkloadIdentityName()- Parameters:
workloadIdentityName- Name of the workload identity. This parameter is required.- Returns:
this
-
createdTime
Sets the value ofWorkloadIdentityAttributes.getCreatedTime()- Parameters:
createdTime- Resource creation time.- Returns:
this
-
lastUpdatedTime
@Stability(Stable) public WorkloadIdentityAttributes.Builder lastUpdatedTime(String lastUpdatedTime) Sets the value ofWorkloadIdentityAttributes.getLastUpdatedTime()- Parameters:
lastUpdatedTime- Resource last-updated time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkloadIdentityAttributes>- Returns:
- a new instance of
WorkloadIdentityAttributes - Throws:
NullPointerException- if any required attribute was not provided
-