Class CreateFlowLogCollectorOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateFlowLogCollectorOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(LegacyCloudObjectStorageBucketIdentity storageBucket, FlowLogCollectorTargetPrototype target) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionSet the active.build()Builds a CreateFlowLogCollectorOptions.Set the name.resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.storageBucket(LegacyCloudObjectStorageBucketIdentity storageBucket) Set the storageBucket.Set the target.
-
Constructor Details
-
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 Details
-
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
Set the target.- Parameters:
target- the target- Returns:
- the CreateFlowLogCollectorOptions builder
-
active
Set the active.- Parameters:
active- the active- Returns:
- the CreateFlowLogCollectorOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateFlowLogCollectorOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup- the resourceGroup- Returns:
- the CreateFlowLogCollectorOptions builder
-