Package com.pulumi.aws.directoryservice
Class LogServiceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.directoryservice.LogServiceArgs.Builder
-
- Enclosing class:
- LogServiceArgs
public static final class LogServiceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(LogServiceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogServiceArgs
build()
LogServiceArgs.Builder
directoryId(com.pulumi.core.Output<java.lang.String> directoryId)
LogServiceArgs.Builder
directoryId(java.lang.String directoryId)
LogServiceArgs.Builder
logGroupName(com.pulumi.core.Output<java.lang.String> logGroupName)
LogServiceArgs.Builder
logGroupName(java.lang.String logGroupName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LogServiceArgs defaults)
-
-
Method Detail
-
directoryId
public LogServiceArgs.Builder directoryId(com.pulumi.core.Output<java.lang.String> directoryId)
- Parameters:
directoryId
- ID of directory.- Returns:
- builder
-
directoryId
public LogServiceArgs.Builder directoryId(java.lang.String directoryId)
- Parameters:
directoryId
- ID of directory.- Returns:
- builder
-
logGroupName
public LogServiceArgs.Builder logGroupName(com.pulumi.core.Output<java.lang.String> logGroupName)
- Parameters:
logGroupName
- Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.- Returns:
- builder
-
logGroupName
public LogServiceArgs.Builder logGroupName(java.lang.String logGroupName)
- Parameters:
logGroupName
- Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.- Returns:
- builder
-
build
public LogServiceArgs build()
-
-