Interface ProfilingStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProfilingStatus.Builder,ProfilingStatus>,SdkBuilder<ProfilingStatus.Builder,ProfilingStatus>,SdkPojo
- Enclosing class:
- ProfilingStatus
public static interface ProfilingStatus.Builder extends SdkPojo, CopyableBuilder<ProfilingStatus.Builder,ProfilingStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProfilingStatus.BuilderlatestAgentOrchestratedAt(Instant latestAgentOrchestratedAt)The date and time when the profiling agent most recently pinged back.ProfilingStatus.BuilderlatestAgentProfileReportedAt(Instant latestAgentProfileReportedAt)The date and time when the most recent profile was received.default ProfilingStatus.BuilderlatestAggregatedProfile(Consumer<AggregatedProfileTime.Builder> latestAggregatedProfile)AnAggregatedProfileTimeobject that contains the aggregation period and start time for an aggregated profile.ProfilingStatus.BuilderlatestAggregatedProfile(AggregatedProfileTime latestAggregatedProfile)AnAggregatedProfileTimeobject 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 Detail
-
latestAgentOrchestratedAt
ProfilingStatus.Builder latestAgentOrchestratedAt(Instant 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
ProfilingStatus.Builder latestAgentProfileReportedAt(Instant 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
ProfilingStatus.Builder latestAggregatedProfile(AggregatedProfileTime latestAggregatedProfile)
An
AggregatedProfileTimeobject that contains the aggregation period and start time for an aggregated profile.- Parameters:
latestAggregatedProfile- AnAggregatedProfileTimeobject 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 theAggregatedProfileTimeobject that contains the aggregation period and start time for an aggregated profile.AggregatedProfileTime.Builderavoiding the need to create one manually viaAggregatedProfileTime.builder().When the
Consumercompletes,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:
latestAggregatedProfile(AggregatedProfileTime)
-
-