Interface CollectorResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CollectorResponse.Builder,
,CollectorResponse> SdkBuilder<CollectorResponse.Builder,
,CollectorResponse> SdkPojo
- Enclosing class:
CollectorResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CollectorResponse.Builder
collectorHealthCheck
(Consumer<CollectorHealthCheck.Builder> collectorHealthCheck) Sets the value of the CollectorHealthCheck property for this object.collectorHealthCheck
(CollectorHealthCheck collectorHealthCheck) Sets the value of the CollectorHealthCheck property for this object.collectorName
(String collectorName) The name of the Fleet Advisor collector .collectorReferencedId
(String collectorReferencedId) The reference ID of the Fleet Advisor collector.collectorVersion
(String collectorVersion) The version of your Fleet Advisor collector, in semantic versioning format, for example1.0.2
createdDate
(String createdDate) The timestamp when you created the collector, in the following format:2022-01-24T19:04:02.596113Z
description
(String description) A summary description of the Fleet Advisor collector.default CollectorResponse.Builder
inventoryData
(Consumer<InventoryData.Builder> inventoryData) Sets the value of the InventoryData property for this object.inventoryData
(InventoryData inventoryData) Sets the value of the InventoryData property for this object.lastDataReceived
(String lastDataReceived) The timestamp of the last time the collector received data, in the following format:2022-01-24T19:04:02.596113Z
modifiedDate
(String modifiedDate) The timestamp when DMS last modified the collector, in the following format:2022-01-24T19:04:02.596113Z
registeredDate
(String registeredDate) The timestamp when DMS registered the collector, in the following format:2022-01-24T19:04:02.596113Z
s3BucketName
(String s3BucketName) The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.serviceAccessRoleArn
(String serviceAccessRoleArn) The IAM role that grants permissions to access the specified Amazon S3 bucket.versionStatus
(String versionStatus) Whether the collector version is up to date.versionStatus
(VersionStatus versionStatus) Whether the collector version is up to date.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
collectorReferencedId
The reference ID of the Fleet Advisor collector.
- Parameters:
collectorReferencedId
- The reference ID of the Fleet Advisor collector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorName
The name of the Fleet Advisor collector .
- Parameters:
collectorName
- The name of the Fleet Advisor collector .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorVersion
The version of your Fleet Advisor collector, in semantic versioning format, for example
1.0.2
- Parameters:
collectorVersion
- The version of your Fleet Advisor collector, in semantic versioning format, for example1.0.2
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionStatus
Whether the collector version is up to date.
- Parameters:
versionStatus
- Whether the collector version is up to date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
versionStatus
Whether the collector version is up to date.
- Parameters:
versionStatus
- Whether the collector version is up to date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A summary description of the Fleet Advisor collector.
- Parameters:
description
- A summary description of the Fleet Advisor collector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketName
The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
- Parameters:
s3BucketName
- The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccessRoleArn
The IAM role that grants permissions to access the specified Amazon S3 bucket.
- Parameters:
serviceAccessRoleArn
- The IAM role that grants permissions to access the specified Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorHealthCheck
Sets the value of the CollectorHealthCheck property for this object.- Parameters:
collectorHealthCheck
- The new value for the CollectorHealthCheck property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorHealthCheck
default CollectorResponse.Builder collectorHealthCheck(Consumer<CollectorHealthCheck.Builder> collectorHealthCheck) Sets the value of the CollectorHealthCheck property for this object. This is a convenience method that creates an instance of theCollectorHealthCheck.Builder
avoiding the need to create one manually viaCollectorHealthCheck.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollectorHealthCheck(CollectorHealthCheck)
.- Parameters:
collectorHealthCheck
- a consumer that will call methods onCollectorHealthCheck.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastDataReceived
The timestamp of the last time the collector received data, in the following format:
2022-01-24T19:04:02.596113Z
- Parameters:
lastDataReceived
- The timestamp of the last time the collector received data, in the following format:2022-01-24T19:04:02.596113Z
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredDate
The timestamp when DMS registered the collector, in the following format:
2022-01-24T19:04:02.596113Z
- Parameters:
registeredDate
- The timestamp when DMS registered the collector, in the following format:2022-01-24T19:04:02.596113Z
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The timestamp when you created the collector, in the following format:
2022-01-24T19:04:02.596113Z
- Parameters:
createdDate
- The timestamp when you created the collector, in the following format:2022-01-24T19:04:02.596113Z
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedDate
The timestamp when DMS last modified the collector, in the following format:
2022-01-24T19:04:02.596113Z
- Parameters:
modifiedDate
- The timestamp when DMS last modified the collector, in the following format:2022-01-24T19:04:02.596113Z
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inventoryData
Sets the value of the InventoryData property for this object.- Parameters:
inventoryData
- The new value for the InventoryData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inventoryData
Sets the value of the InventoryData property for this object. This is a convenience method that creates an instance of theInventoryData.Builder
avoiding the need to create one manually viaInventoryData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinventoryData(InventoryData)
.- Parameters:
inventoryData
- a consumer that will call methods onInventoryData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-