Class CfnCloudFrontOriginAccessIdentity.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnCloudFrontOriginAccessIdentity.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudFrontOriginAccessIdentity>
- Enclosing class:
CfnCloudFrontOriginAccessIdentity
@Stability(Stable)
public static final class CfnCloudFrontOriginAccessIdentity.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudFrontOriginAccessIdentity>
A fluent builder for
CfnCloudFrontOriginAccessIdentity
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
cloudFrontOriginAccessIdentityConfig
(IResolvable cloudFrontOriginAccessIdentityConfig) The current configuration information for the identity.cloudFrontOriginAccessIdentityConfig
(CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty cloudFrontOriginAccessIdentityConfig) The current configuration information for the identity.
-
Method Details
-
create
@Stability(Stable) public static CfnCloudFrontOriginAccessIdentity.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCloudFrontOriginAccessIdentity.Builder
.
-
cloudFrontOriginAccessIdentityConfig
@Stability(Stable) public CfnCloudFrontOriginAccessIdentity.Builder cloudFrontOriginAccessIdentityConfig(IResolvable cloudFrontOriginAccessIdentityConfig) The current configuration information for the identity.- Parameters:
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity. This parameter is required.- Returns:
this
- See Also:
-
cloudFrontOriginAccessIdentityConfig
@Stability(Stable) public CfnCloudFrontOriginAccessIdentity.Builder cloudFrontOriginAccessIdentityConfig(CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty cloudFrontOriginAccessIdentityConfig) The current configuration information for the identity.- Parameters:
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudFrontOriginAccessIdentity>
- Returns:
- a newly built instance of
CfnCloudFrontOriginAccessIdentity
.
-