@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DebugHookConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for the debug hook parameters, collection configuration, and storage paths.
Constructor and Description |
---|
DebugHookConfig() |
Modifier and Type | Method and Description |
---|---|
DebugHookConfig |
addHookParametersEntry(String key,
String value)
Add a single HookParameters entry
|
DebugHookConfig |
clearHookParametersEntries()
Removes all the entries added into HookParameters.
|
DebugHookConfig |
clone() |
boolean |
equals(Object obj) |
List<CollectionConfiguration> |
getCollectionConfigurations()
Configuration information for tensor collections.
|
Map<String,String> |
getHookParameters()
Configuration information for the debug hook parameters.
|
String |
getLocalPath()
Path to local storage location for tensors.
|
String |
getS3OutputPath()
Path to Amazon S3 storage location for tensors.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
|
void |
setHookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
|
void |
setLocalPath(String localPath)
Path to local storage location for tensors.
|
void |
setS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
|
String |
toString()
Returns a string representation of this object.
|
DebugHookConfig |
withCollectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
|
DebugHookConfig |
withCollectionConfigurations(CollectionConfiguration... collectionConfigurations)
Configuration information for tensor collections.
|
DebugHookConfig |
withHookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
|
DebugHookConfig |
withLocalPath(String localPath)
Path to local storage location for tensors.
|
DebugHookConfig |
withS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
|
public void setLocalPath(String localPath)
Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.
localPath
- Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.public String getLocalPath()
Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.
/opt/ml/output/tensors/
.public DebugHookConfig withLocalPath(String localPath)
Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.
localPath
- Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/
.public void setS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
s3OutputPath
- Path to Amazon S3 storage location for tensors.public String getS3OutputPath()
Path to Amazon S3 storage location for tensors.
public DebugHookConfig withS3OutputPath(String s3OutputPath)
Path to Amazon S3 storage location for tensors.
s3OutputPath
- Path to Amazon S3 storage location for tensors.public Map<String,String> getHookParameters()
Configuration information for the debug hook parameters.
public void setHookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
hookParameters
- Configuration information for the debug hook parameters.public DebugHookConfig withHookParameters(Map<String,String> hookParameters)
Configuration information for the debug hook parameters.
hookParameters
- Configuration information for the debug hook parameters.public DebugHookConfig addHookParametersEntry(String key, String value)
public DebugHookConfig clearHookParametersEntries()
public List<CollectionConfiguration> getCollectionConfigurations()
Configuration information for tensor collections.
public void setCollectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
collectionConfigurations
- Configuration information for tensor collections.public DebugHookConfig withCollectionConfigurations(CollectionConfiguration... collectionConfigurations)
Configuration information for tensor collections.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionConfigurations(java.util.Collection)
or
withCollectionConfigurations(java.util.Collection)
if you want to override the existing values.
collectionConfigurations
- Configuration information for tensor collections.public DebugHookConfig withCollectionConfigurations(Collection<CollectionConfiguration> collectionConfigurations)
Configuration information for tensor collections.
collectionConfigurations
- Configuration information for tensor collections.public String toString()
toString
in class Object
Object.toString()
public DebugHookConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.