Class FargateProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.eks.FargateProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FargateProfileReference>
- Enclosing interface:
FargateProfileReference
@Stability(Stable)
public static final class FargateProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<FargateProfileReference>
A builder for
FargateProfileReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterName(String clusterName) Sets the value ofFargateProfileReference.getClusterName()fargateProfileArn(String fargateProfileArn) Sets the value ofFargateProfileReference.getFargateProfileArn()fargateProfileName(String fargateProfileName) Sets the value ofFargateProfileReference.getFargateProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterName
Sets the value ofFargateProfileReference.getClusterName()- Parameters:
clusterName- The ClusterName of the FargateProfile resource. This parameter is required.- Returns:
this
-
fargateProfileArn
@Stability(Stable) public FargateProfileReference.Builder fargateProfileArn(String fargateProfileArn) Sets the value ofFargateProfileReference.getFargateProfileArn()- Parameters:
fargateProfileArn- The ARN of the FargateProfile resource. This parameter is required.- Returns:
this
-
fargateProfileName
@Stability(Stable) public FargateProfileReference.Builder fargateProfileName(String fargateProfileName) Sets the value ofFargateProfileReference.getFargateProfileName()- Parameters:
fargateProfileName- The FargateProfileName of the FargateProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FargateProfileReference>- Returns:
- a new instance of
FargateProfileReference - Throws:
NullPointerException- if any required attribute was not provided
-