Interface MetricDataResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricDataResult.Builder,,MetricDataResult> SdkBuilder<MetricDataResult.Builder,,MetricDataResult> SdkPojo
- Enclosing class:
MetricDataResult
@Mutable
@NotThreadSafe
public static interface MetricDataResult.Builder
extends SdkPojo, CopyableBuilder<MetricDataResult.Builder,MetricDataResult>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Id property for this object.Sets the value of the Label property for this object.messages(Collection<MessageData> messages) Sets the value of the Messages property for this object.messages(Consumer<MessageData.Builder>... messages) Sets the value of the Messages property for this object.messages(MessageData... messages) Sets the value of the Messages property for this object.statusCode(String statusCode) Sets the value of the StatusCode property for this object.statusCode(StatusCode statusCode) Sets the value of the StatusCode property for this object.timestamps(Instant... timestamps) Sets the value of the Timestamps property for this object.timestamps(Collection<Instant> timestamps) Sets the value of the Timestamps property for this object.Sets the value of the Values property for this object.values(Collection<Double> values) Sets the value of the Values property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
Sets the value of the Id property for this object.- Parameters:
id- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
Sets the value of the Label property for this object.- Parameters:
label- The new value for the Label property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
Sets the value of the Timestamps property for this object.- Parameters:
timestamps- The new value for the Timestamps property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
Sets the value of the Timestamps property for this object.- Parameters:
timestamps- The new value for the Timestamps property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Sets the value of the Values property for this object.- Parameters:
values- The new value for the Values property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Sets the value of the Values property for this object.- Parameters:
values- The new value for the Values property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
Sets the value of the StatusCode property for this object.- Parameters:
statusCode- The new value for the StatusCode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
Sets the value of the StatusCode property for this object.- Parameters:
statusCode- The new value for the StatusCode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messages
Sets the value of the Messages property for this object.- Parameters:
messages- The new value for the Messages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
Sets the value of the Messages property for this object.- Parameters:
messages- The new value for the Messages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
Sets the value of the Messages property for this object. This is a convenience method that creates an instance of theMessageData.Builderavoiding the need to create one manually viaMessageData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessages(List<MessageData>).- Parameters:
messages- a consumer that will call methods onMessageData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-