Package org.stellar.sdk
Class SorobanDataBuilder.Resources.ResourcesBuilder
java.lang.Object
org.stellar.sdk.SorobanDataBuilder.Resources.ResourcesBuilder
- Enclosing class:
SorobanDataBuilder.Resources
-
Method Summary
Modifier and TypeMethodDescriptionbuild()cpuInstructions(@NonNull Long cpuInstructions) number of CPU instructions (uint32)diskReadBytes(@NonNull Long diskReadBytes) number of bytes read from the ledger (uint32)toString()writeBytes(@NonNull Long writeBytes) number of bytes written to the ledger (uint32)
-
Method Details
-
cpuInstructions
public SorobanDataBuilder.Resources.ResourcesBuilder cpuInstructions(@NonNull @NonNull Long cpuInstructions) number of CPU instructions (uint32)- Parameters:
cpuInstructions- the number of CPU instructions- Returns:
this.
-
diskReadBytes
public SorobanDataBuilder.Resources.ResourcesBuilder diskReadBytes(@NonNull @NonNull Long diskReadBytes) number of bytes read from the ledger (uint32)- Parameters:
diskReadBytes- the number of bytes read from the ledger- Returns:
this.
-
writeBytes
number of bytes written to the ledger (uint32)- Parameters:
writeBytes- the number of bytes written to the ledger- Returns:
this.
-
build
-
toString
-