Class SharedDirectoryState.Builder
- java.lang.Object
-
- com.pulumi.aws.directoryservice.inputs.SharedDirectoryState.Builder
-
- Enclosing class:
- SharedDirectoryState
public static final class SharedDirectoryState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SharedDirectoryState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SharedDirectoryState defaults)
-
-
Method Detail
-
directoryId
public SharedDirectoryState.Builder directoryId(@Nullable com.pulumi.core.Output<java.lang.String> directoryId)
- Parameters:
directoryId- Identifier of the Managed Microsoft AD directory that you want to share with other accounts.- Returns:
- builder
-
directoryId
public SharedDirectoryState.Builder directoryId(java.lang.String directoryId)
- Parameters:
directoryId- Identifier of the Managed Microsoft AD directory that you want to share with other accounts.- Returns:
- builder
-
method
public SharedDirectoryState.Builder method(@Nullable com.pulumi.core.Output<java.lang.String> method)
- Parameters:
method- Method used when sharing a directory. Valid values are `ORGANIZATIONS` and `HANDSHAKE`. Default is `HANDSHAKE`.- Returns:
- builder
-
method
public SharedDirectoryState.Builder method(java.lang.String method)
- Parameters:
method- Method used when sharing a directory. Valid values are `ORGANIZATIONS` and `HANDSHAKE`. Default is `HANDSHAKE`.- Returns:
- builder
-
notes
public SharedDirectoryState.Builder notes(@Nullable com.pulumi.core.Output<java.lang.String> notes)
- Parameters:
notes- Message sent by the directory owner to the directory consumer to help the directory consumer administrator determine whether to approve or reject the share invitation.- Returns:
- builder
-
notes
public SharedDirectoryState.Builder notes(java.lang.String notes)
- Parameters:
notes- Message sent by the directory owner to the directory consumer to help the directory consumer administrator determine whether to approve or reject the share invitation.- Returns:
- builder
-
region
public SharedDirectoryState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public SharedDirectoryState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
sharedDirectoryId
public SharedDirectoryState.Builder sharedDirectoryId(@Nullable com.pulumi.core.Output<java.lang.String> sharedDirectoryId)
- Parameters:
sharedDirectoryId- Identifier of the directory that is stored in the directory consumer account that corresponds to the shared directory in the owner account.- Returns:
- builder
-
sharedDirectoryId
public SharedDirectoryState.Builder sharedDirectoryId(java.lang.String sharedDirectoryId)
- Parameters:
sharedDirectoryId- Identifier of the directory that is stored in the directory consumer account that corresponds to the shared directory in the owner account.- Returns:
- builder
-
target
public SharedDirectoryState.Builder target(@Nullable com.pulumi.core.Output<SharedDirectoryTargetArgs> target)
- Parameters:
target- Identifier for the directory consumer account with whom the directory is to be shared. See below. The following arguments are optional:- Returns:
- builder
-
target
public SharedDirectoryState.Builder target(SharedDirectoryTargetArgs target)
- Parameters:
target- Identifier for the directory consumer account with whom the directory is to be shared. See below. The following arguments are optional:- Returns:
- builder
-
build
public SharedDirectoryState build()
-
-