Interface ProfilingStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProfilingStatus.Builder,
,ProfilingStatus> SdkBuilder<ProfilingStatus.Builder,
,ProfilingStatus> SdkPojo
- Enclosing class:
ProfilingStatus
-
Method Summary
Modifier and TypeMethodDescriptionlatestAgentOrchestratedAt
(Instant latestAgentOrchestratedAt) The date and time when the profiling agent most recently pinged back.latestAgentProfileReportedAt
(Instant latestAgentProfileReportedAt) The date and time when the most recent profile was received.default ProfilingStatus.Builder
latestAggregatedProfile
(Consumer<AggregatedProfileTime.Builder> latestAggregatedProfile) AnAggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.latestAggregatedProfile
(AggregatedProfileTime latestAggregatedProfile) AnAggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.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
-
latestAgentOrchestratedAt
The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
- Parameters:
latestAgentOrchestratedAt
- The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAgentProfileReportedAt
The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
- Parameters:
latestAgentProfileReportedAt
- The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAggregatedProfile
An
AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.- Parameters:
latestAggregatedProfile
- AnAggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestAggregatedProfile
default ProfilingStatus.Builder latestAggregatedProfile(Consumer<AggregatedProfileTime.Builder> latestAggregatedProfile) An
This is a convenience method that creates an instance of theAggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.AggregatedProfileTime.Builder
avoiding the need to create one manually viaAggregatedProfileTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestAggregatedProfile(AggregatedProfileTime)
.- Parameters:
latestAggregatedProfile
- a consumer that will call methods onAggregatedProfileTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-