Class StorageTierPolicyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.logs.StorageTierPolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTierPolicyReference>
- Enclosing interface:
StorageTierPolicyReference
@Stability(Stable)
public static final class StorageTierPolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<StorageTierPolicyReference>
A builder for
StorageTierPolicyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofStorageTierPolicyReference.getAccountId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofStorageTierPolicyReference.getAccountId()- Parameters:
accountId- The AccountId of the StorageTierPolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTierPolicyReference>- Returns:
- a new instance of
StorageTierPolicyReference - Throws:
NullPointerException- if any required attribute was not provided
-