@Generated(value="software.amazon.awssdk:codegen") public final class CreateNetworkProfileRequest extends DeviceFarmRequest implements ToCopyableBuilder<CreateNetworkProfileRequest.Builder,CreateNetworkProfileRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateNetworkProfileRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateNetworkProfileRequest.Builder |
builder() |
String |
description()
The description of the network profile.
|
Long |
downlinkBandwidthBits()
The data throughput rate in bits per second, as an integer from 0 to 104857600.
|
Long |
downlinkDelayMs()
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
|
Long |
downlinkJitterMs()
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
|
Integer |
downlinkLossPercent()
Proportion of received packets that fail to arrive from 0 to 100 percent.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name you wish to specify for the new network profile.
|
String |
projectArn()
The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
|
static Class<? extends CreateNetworkProfileRequest.Builder> |
serializableBuilderClass() |
CreateNetworkProfileRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
NetworkProfileType |
type()
The type of network profile you wish to create.
|
String |
typeAsString()
The type of network profile you wish to create.
|
Long |
uplinkBandwidthBits()
The data throughput rate in bits per second, as an integer from 0 to 104857600.
|
Long |
uplinkDelayMs()
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
|
Long |
uplinkJitterMs()
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
|
Integer |
uplinkLossPercent()
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
|
overrideConfiguration
copy
public String projectArn()
The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
public String name()
The name you wish to specify for the new network profile.
public String description()
The description of the network profile.
public NetworkProfileType type()
The type of network profile you wish to create. Valid values are listed below.
If the service returns an enum value that is not available in the current SDK version, type
will return
NetworkProfileType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
NetworkProfileType
public String typeAsString()
The type of network profile you wish to create. Valid values are listed below.
If the service returns an enum value that is not available in the current SDK version, type
will return
NetworkProfileType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
NetworkProfileType
public Long uplinkBandwidthBits()
The data throughput rate in bits per second, as an integer from 0 to 104857600.
public Long downlinkBandwidthBits()
The data throughput rate in bits per second, as an integer from 0 to 104857600.
public Long uplinkDelayMs()
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
public Long downlinkDelayMs()
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
public Long uplinkJitterMs()
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
public Long downlinkJitterMs()
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
public Integer uplinkLossPercent()
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
public Integer downlinkLossPercent()
Proportion of received packets that fail to arrive from 0 to 100 percent.
public CreateNetworkProfileRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateNetworkProfileRequest.Builder,CreateNetworkProfileRequest>
toBuilder
in class DeviceFarmRequest
public static CreateNetworkProfileRequest.Builder builder()
public static Class<? extends CreateNetworkProfileRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.