Package com.ibm.cloud.is.vpc.v1.model
Class CreateFlowLogCollectorOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateFlowLogCollectorOptions.Builder
-
- Enclosing class:
- CreateFlowLogCollectorOptions
public static class CreateFlowLogCollectorOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(LegacyCloudObjectStorageBucketIdentity storageBucket, FlowLogCollectorTargetPrototype target)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFlowLogCollectorOptions.Builder
active(Boolean active)
Set the active.CreateFlowLogCollectorOptions
build()
Builds a CreateFlowLogCollectorOptions.CreateFlowLogCollectorOptions.Builder
name(String name)
Set the name.CreateFlowLogCollectorOptions.Builder
resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.CreateFlowLogCollectorOptions.Builder
storageBucket(LegacyCloudObjectStorageBucketIdentity storageBucket)
Set the storageBucket.CreateFlowLogCollectorOptions.Builder
target(FlowLogCollectorTargetPrototype target)
Set the target.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(LegacyCloudObjectStorageBucketIdentity storageBucket, FlowLogCollectorTargetPrototype target)
Instantiates a new builder with required properties.- Parameters:
storageBucket
- the storageBuckettarget
- the target
-
-
Method Detail
-
build
public CreateFlowLogCollectorOptions build()
Builds a CreateFlowLogCollectorOptions.- Returns:
- the new CreateFlowLogCollectorOptions instance
-
storageBucket
public CreateFlowLogCollectorOptions.Builder storageBucket(LegacyCloudObjectStorageBucketIdentity storageBucket)
Set the storageBucket.- Parameters:
storageBucket
- the storageBucket- Returns:
- the CreateFlowLogCollectorOptions builder
-
target
public CreateFlowLogCollectorOptions.Builder target(FlowLogCollectorTargetPrototype target)
Set the target.- Parameters:
target
- the target- Returns:
- the CreateFlowLogCollectorOptions builder
-
active
public CreateFlowLogCollectorOptions.Builder active(Boolean active)
Set the active.- Parameters:
active
- the active- Returns:
- the CreateFlowLogCollectorOptions builder
-
name
public CreateFlowLogCollectorOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateFlowLogCollectorOptions builder
-
resourceGroup
public CreateFlowLogCollectorOptions.Builder resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreateFlowLogCollectorOptions builder
-
-