Class CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty>
- Enclosing interface:
CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty
@Stability(Stable)
public static final class CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
@Stability(Stable) public CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder region(String region) - Parameters:
region- The SigV4 signing region.- Returns:
this
-
roleArn
@Stability(Stable) public CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The ARN of the IAM role.- Returns:
this
-
service
@Stability(Stable) public CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty.Builder service(String service) - Parameters:
service- The SigV4 signing service name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty>- Returns:
- a new instance of
CfnRegistryRecord.RegistryRecordIamCredentialProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-