Class Phase
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.Phase
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Phase.Builder,Phase>
@Generated("software.amazon.awssdk:codegen") public final class Phase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Phase.Builder,Phase>
Defines the traffic pattern.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Phase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Phase.Builder
builder()
Integer
durationInSeconds()
Specifies how long a traffic phase should be.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
initialNumberOfUsers()
Specifies how many concurrent users to start with.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Phase.Builder>
serializableBuilderClass()
Integer
spawnRate()
Specified how many new users to spawn in a minute.Phase.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
initialNumberOfUsers
public final Integer initialNumberOfUsers()
Specifies how many concurrent users to start with. The value should be between 1 and 3.
- Returns:
- Specifies how many concurrent users to start with. The value should be between 1 and 3.
-
spawnRate
public final Integer spawnRate()
Specified how many new users to spawn in a minute.
- Returns:
- Specified how many new users to spawn in a minute.
-
durationInSeconds
public final Integer durationInSeconds()
Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed
JobDurationInSeconds
.- Returns:
- Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and
3600. This value should not exceed
JobDurationInSeconds
.
-
toBuilder
public Phase.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Phase.Builder,Phase>
-
builder
public static Phase.Builder builder()
-
serializableBuilderClass
public static Class<? extends Phase.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-