Interface CollectorResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CollectorResponse.Builder,CollectorResponse>,SdkBuilder<CollectorResponse.Builder,CollectorResponse>,SdkPojo
- Enclosing class:
- CollectorResponse
public static interface CollectorResponse.Builder extends SdkPojo, CopyableBuilder<CollectorResponse.Builder,CollectorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CollectorResponse.BuildercollectorHealthCheck(Consumer<CollectorHealthCheck.Builder> collectorHealthCheck)Sets the value of the CollectorHealthCheck property for this object.CollectorResponse.BuildercollectorHealthCheck(CollectorHealthCheck collectorHealthCheck)Sets the value of the CollectorHealthCheck property for this object.CollectorResponse.BuildercollectorName(String collectorName)The name of the Fleet Advisor collector .CollectorResponse.BuildercollectorReferencedId(String collectorReferencedId)The reference ID of the Fleet Advisor collector.CollectorResponse.BuildercollectorVersion(String collectorVersion)The version of your Fleet Advisor collector, in semantic versioning format, for example1.0.2CollectorResponse.BuildercreatedDate(String createdDate)The timestamp when you created the collector, in the following format:2022-01-24T19:04:02.596113ZCollectorResponse.Builderdescription(String description)A summary description of the Fleet Advisor collector.default CollectorResponse.BuilderinventoryData(Consumer<InventoryData.Builder> inventoryData)Sets the value of the InventoryData property for this object.CollectorResponse.BuilderinventoryData(InventoryData inventoryData)Sets the value of the InventoryData property for this object.CollectorResponse.BuilderlastDataReceived(String lastDataReceived)The timestamp of the last time the collector received data, in the following format:2022-01-24T19:04:02.596113ZCollectorResponse.BuildermodifiedDate(String modifiedDate)The timestamp when DMS last modified the collector, in the following format:2022-01-24T19:04:02.596113ZCollectorResponse.BuilderregisteredDate(String registeredDate)The timestamp when DMS registered the collector, in the following format:2022-01-24T19:04:02.596113ZCollectorResponse.Builders3BucketName(String s3BucketName)The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.CollectorResponse.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)The IAM role that grants permissions to access the specified Amazon S3 bucket.CollectorResponse.BuilderversionStatus(String versionStatus)Whether the collector version is up to date.CollectorResponse.BuilderversionStatus(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 Detail
-
collectorReferencedId
CollectorResponse.Builder collectorReferencedId(String 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
CollectorResponse.Builder collectorName(String 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
CollectorResponse.Builder collectorVersion(String 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
CollectorResponse.Builder versionStatus(String 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,VersionStatus
-
versionStatus
CollectorResponse.Builder versionStatus(VersionStatus 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,VersionStatus
-
description
CollectorResponse.Builder description(String 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
CollectorResponse.Builder s3BucketName(String 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
CollectorResponse.Builder serviceAccessRoleArn(String 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
CollectorResponse.Builder collectorHealthCheck(CollectorHealthCheck 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.Builderavoiding the need to create one manually viaCollectorHealthCheck.builder().When the
Consumercompletes,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:
collectorHealthCheck(CollectorHealthCheck)
-
lastDataReceived
CollectorResponse.Builder lastDataReceived(String 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
CollectorResponse.Builder registeredDate(String 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
CollectorResponse.Builder createdDate(String 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
CollectorResponse.Builder modifiedDate(String 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
CollectorResponse.Builder inventoryData(InventoryData 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
default CollectorResponse.Builder inventoryData(Consumer<InventoryData.Builder> inventoryData)
Sets the value of the InventoryData property for this object. This is a convenience method that creates an instance of theInventoryData.Builderavoiding the need to create one manually viaInventoryData.builder().When the
Consumercompletes,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:
inventoryData(InventoryData)
-
-