public static final class CfnRegistryPolicyProps.Builder
extends java.lang.Object
CfnRegistryPolicyProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRegistryPolicyProps |
build()
Builds the configured instance.
|
CfnRegistryPolicyProps.Builder |
policy(java.lang.Object policy)
Sets the value of
CfnRegistryPolicyProps.getPolicy() |
CfnRegistryPolicyProps.Builder |
registryName(java.lang.String registryName)
Sets the value of
CfnRegistryPolicyProps.getRegistryName() |
CfnRegistryPolicyProps.Builder |
revisionId(java.lang.String revisionId)
Sets the value of
CfnRegistryPolicyProps.getRevisionId() |
public CfnRegistryPolicyProps.Builder policy(java.lang.Object policy)
CfnRegistryPolicyProps.getPolicy()
policy
- A resource-based policy. This parameter is required.this
public CfnRegistryPolicyProps.Builder registryName(java.lang.String registryName)
CfnRegistryPolicyProps.getRegistryName()
registryName
- The name of the registry. This parameter is required.this
public CfnRegistryPolicyProps.Builder revisionId(java.lang.String revisionId)
CfnRegistryPolicyProps.getRevisionId()
revisionId
- The revision ID of the policy.this
public CfnRegistryPolicyProps build()
CfnRegistryPolicyProps
java.lang.NullPointerException
- if any required attribute was not provided